diff options
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/pcapng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/pcapng.c b/wiretap/pcapng.c index b312dad720..04a46202f4 100644 --- a/wiretap/pcapng.c +++ b/wiretap/pcapng.c @@ -1415,7 +1415,7 @@ pcapng_read_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wta * Do we have a handler for this packet block option code? */ handler = (option_handler)g_hash_table_lookup(option_handlers[BT_INDEX_PBS], - GUINT_TO_POINTER(oh->option_code)); + GUINT_TO_POINTER((guint)oh->option_code)); if (handler != NULL) { /* Yes - call the handler. */ if (!handler(pn->byte_swapped, oh->option_length, |