that's why it returns "void *", not "guint8 *". Don't pointer-convert
that information away; otherwise, compilers might whine at you about
unsafe casts.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36793
f5534014-38df-0310-8fa8-
9805f1628bb7
}
else if (packet->dst_addr_mode == IEEE802154_FCF_ADDR_EXT) {
/* Dynamic (not stack) memory required for address column. */
- gchar *addr = ep_alloc(8);
+ void *addr = ep_alloc(8);
gchar *dst, *dst_oui;
/* Get the address */
}
else if (packet->src_addr_mode == IEEE802154_FCF_ADDR_EXT) {
/* Dynamic (not stack) memory required for address column. */
- gchar *addr = ep_alloc(8);
+ void *addr = ep_alloc(8);
gchar *src, *src_oui;
/* Get the address. */