Replace implicit conversion with explicit cast.

svn path=/trunk/; revision=48532
This commit is contained in:
Guy Harris 2013-03-24 18:14:58 +00:00
parent 0090d11212
commit 7113707672
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ ouch_tree_add_timestamp(
gint offset)
{
guint64 ts = tvb_get_ntoh64(tvb, offset);
char *buf = wmem_alloc(wmem_packet_scope(), ITEM_LABEL_LENGTH);
char *buf = (char *)wmem_alloc(wmem_packet_scope(), ITEM_LABEL_LENGTH);
guint32 tmp, hours, mins, secs, nsecs;
nsecs = (guint32)(ts % G_GUINT64_CONSTANT(1000000000));