aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-11-30 17:03:20 -0800
committerGuy Harris <guy@alum.mit.edu>2014-12-01 01:03:46 +0000
commit0cf2f74814708b46e6b7f1481fe41295abeb3721 (patch)
tree4c136b979b58c95a6ffb79a15cc93a7359d3da07 /wiretap
parentcc0b083f3013de457c1738d6842b33b518d1a45d (diff)
Squelch another compiler warning.
Change-Id: Ib79bb30e67dacdda2e87f39438c4a836632d55bd Reviewed-on: https://code.wireshark.org/review/5552 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/pcapng.c2
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,