forked from osmocom/wireshark
Yet another cast to uint.
svn path=/trunk/; revision=37508
This commit is contained in:
parent
9334eee893
commit
e96930f38b
|
@ -2777,7 +2777,7 @@ static gint dissect_mts_identifier (tvbuff_t *tvb, packet_info *pinfo _U_, proto
|
|||
proto_tree_add_string (tree, hf_envelope_mts_id, tvb, offset, dmp.mts_id_length, mts_id);
|
||||
hidden_item = proto_tree_add_string (tree, hf_mts_id, tvb, offset, dmp.mts_id_length, mts_id);
|
||||
/* Insert into hash, for analysis */
|
||||
g_hash_table_insert (dmp_long_id_hash_table, g_strdup (mts_id), GUINT_TO_POINTER (dmp.msg_id));
|
||||
g_hash_table_insert (dmp_long_id_hash_table, g_strdup (mts_id), GUINT_TO_POINTER ((guint)dmp.msg_id));
|
||||
}
|
||||
PROTO_ITEM_SET_HIDDEN (hidden_item);
|
||||
offset += dmp.mts_id_length;
|
||||
|
@ -2828,7 +2828,7 @@ static gint dissect_ipm_identifier (tvbuff_t *tvb, packet_info *pinfo _U_, proto
|
|||
proto_tree_add_string (tree, hf_envelope_ipm_id, tvb, offset, ipm_id_length, ipm_id);
|
||||
hidden_item = proto_tree_add_string (tree, hf_ipm_id, tvb, offset, ipm_id_length, ipm_id);
|
||||
/* Insert into hash, for analysis */
|
||||
g_hash_table_insert (dmp_long_id_hash_table, g_strdup (ipm_id), GUINT_TO_POINTER (dmp.msg_id));
|
||||
g_hash_table_insert (dmp_long_id_hash_table, g_strdup (ipm_id), GUINT_TO_POINTER ((guint)dmp.msg_id));
|
||||
}
|
||||
PROTO_ITEM_SET_HIDDEN (hidden_item);
|
||||
offset += ipm_id_length;
|
||||
|
|
Loading…
Reference in New Issue