diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-23 00:51:21 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-23 00:51:21 +0000 |
commit | 23265ea379ebffdf650e44cbb0cee5856777d24f (patch) | |
tree | 23c9ef4abb163a722dd20f5f081c3611e8569b48 /epan/dissectors/packet-smb2.c | |
parent | 9e6adb9effe7feb4857ba1164b4d892d5f7dc06b (diff) |
fix some more warnings (type casts)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21141 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-smb2.c')
-rw-r--r-- | epan/dissectors/packet-smb2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-smb2.c b/epan/dissectors/packet-smb2.c index b7ad7f94ff..7d279c6b3f 100644 --- a/epan/dissectors/packet-smb2.c +++ b/epan/dissectors/packet-smb2.c @@ -343,7 +343,7 @@ smb2_saved_info_hash_unmatched(gconstpointer k) smb2_saved_info_t *key = (smb2_saved_info_t *)k; guint32 hash; - hash=key->seqnum&0xffffffff; + hash=(guint32) (key->seqnum&0xffffffff); return hash; } @@ -364,7 +364,7 @@ smb2_saved_info_hash_matched(gconstpointer k) smb2_saved_info_t *key = (smb2_saved_info_t *)k; guint32 hash; - hash=key->seqnum&0xffffffff; + hash=(guint32) (key->seqnum&0xffffffff); return hash; } @@ -1723,7 +1723,7 @@ static int dissect_smb2_session_setup_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) { offset_length_buffer_t s_olb; - ntlmssp_header_t *ntlmssph; + const ntlmssp_header_t *ntlmssph; static int ntlmssp_tap_id = 0; int idx; |