Add cast to please mac buildbot
authorEvan Huus <eapache@gmail.com>
Fri, 23 May 2014 03:34:24 +0000 (23:34 -0400)
committerEvan Huus <eapache@gmail.com>
Fri, 23 May 2014 03:35:11 +0000 (03:35 +0000)
Change-Id: Ifffcd79732f0eeaad9f618cb5b8e98217fae32da
Reviewed-on: https://code.wireshark.org/review/1738
Reviewed-by: Evan Huus <eapache@gmail.com>
epan/dissectors/packet-ieee802154.c

index 693c883e01eda569f92e9d34d3f0afc34e611272..86c32662b42b85708bba2212277fd68aafdb9491 100644 (file)
@@ -2429,7 +2429,7 @@ static gpointer ieee802154_da_value(packet_info *pinfo _U_)
     ieee802154_hints_t *hints;
     hints = (ieee802154_hints_t *)p_get_proto_data(wmem_file_scope(), pinfo,
                 proto_get_id_by_filter_name(IEEE802154_PROTOABBREV_WPAN), 0);
-    return GUINT_TO_POINTER(hints->src_pan);
+    return GUINT_TO_POINTER((guint)(hints->src_pan));
 } /* iee802154_da_value */
 
 /*FUNCTION:------------------------------------------------------