summaryrefslogtreecommitdiff
path: root/epan
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-06-18 20:14:07 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-06-18 20:14:07 +0000
commit75c18967f4b1db0471000413dd86ad2ea8102d15 (patch)
treeb168e81352ac527f7b7a84b9e3b5b60e931ae349 /epan
parente2c17dea986aee66061272fdbc2ed7fe7c321e4e (diff)
downloadwireshark-75c18967f4b1db0471000413dd86ad2ea8102d15.tar.gz
Fix Windows build-bot warnings:
packet-smb.c(5479) : error C2220: warning treated as error - no object file generated packet-smb.c(5479) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data packet-smb.c(5480) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data svn path=/trunk/; revision=22134
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-smb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-smb.h b/epan/dissectors/packet-smb.h
index d866713a8a..cdb28e2ed0 100644
--- a/epan/dissectors/packet-smb.h
+++ b/epan/dissectors/packet-smb.h
@@ -318,8 +318,8 @@ typedef struct _smb_lock_info_t {
typedef struct _smb_locking_saved_info_t {
guint8 type;
guint8 oplock_level;
- guint8 num_lock;
- guint8 num_unlock;
+ guint16 num_lock;
+ guint16 num_unlock;
smb_lock_info_t *locks;
smb_lock_info_t *unlocks;
} smb_locking_saved_info_t;