diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-04-14 00:52:01 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-04-14 07:52:30 +0000 |
commit | 75f9ecb9ec915244477635b867dcbb5ad124c997 (patch) | |
tree | bb69ace6614605f879069e203c1dfb1ad61d62e8 /epan/dissectors/packet-giop.c | |
parent | 8b13e41c47b4d1d0ac487b7e0ca27b1bc9f402cf (diff) |
Cast away a (non-relevant) warning.
Change-Id: Iee5029dc685561491660a8f711e58a652893bc90
Reviewed-on: https://code.wireshark.org/review/8065
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-giop.c')
-rw-r--r-- | epan/dissectors/packet-giop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-giop.c b/epan/dissectors/packet-giop.c index 46061ed6d5..a127d8fc60 100644 --- a/epan/dissectors/packet-giop.c +++ b/epan/dissectors/packet-giop.c @@ -4866,7 +4866,7 @@ static int dissect_giop_common (tvbuff_t * tvb, packet_info * pinfo, proto_tree if(header.message_type != Fragment) { /* Record the type of this request id so we can dissect it correctly later */ - g_hash_table_insert(giop_info->optypes, GUINT_TO_POINTER(header.req_id), GUINT_TO_POINTER(header.message_type)); + g_hash_table_insert(giop_info->optypes, GUINT_TO_POINTER(header.req_id), GUINT_TO_POINTER((guint)header.message_type)); } else if (!(header.flags & GIOP_MESSAGE_FLAGS_FRAGMENT)) { /* This is the last fragment, recoverr the original messagetype */ message_type = (guint8)GPOINTER_TO_UINT(g_hash_table_lookup(giop_info->optypes, GUINT_TO_POINTER(header.req_id))); |