diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2007-03-23 00:51:21 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2007-03-23 00:51:21 +0000 |
commit | 411249419dc399c8fcf5a364a90067f864626ba1 (patch) | |
tree | 23c9ef4abb163a722dd20f5f081c3611e8569b48 /epan/dissectors/packet-smb2.c | |
parent | 2e562ea7b4fcae053bf48939baaaea2baef55588 (diff) |
fix some more warnings (type casts)
svn path=/trunk/; revision=21141
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; |