aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-06-16 18:28:28 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-06-16 18:28:28 +0000
commit792ed229d10c6bb64ff1cd2fa6298e05fe5b3803 (patch)
tree13687c9ae57352649aa6e5eeb90e28272c16b9f3 /epan/dissectors/packet-smb.h
parentdff7847cdc392197feaabf5a602f539e94ba9af1 (diff)
Go back to 64-bit sizes, but, before passing those sizes to
g_try_malloc() or g_try_realloc(), check whether they fit in a gsize and: if not, just pretend the allocation failed; if so, cast them to gsize to squelch compiler warnings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33239 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-smb.h')
-rw-r--r--epan/dissectors/packet-smb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-smb.h b/epan/dissectors/packet-smb.h
index a8976777bd..dea3c0cb67 100644
--- a/epan/dissectors/packet-smb.h
+++ b/epan/dissectors/packet-smb.h
@@ -189,7 +189,7 @@ typedef struct _smb_eo_t {
gchar *content_type;
guint32 payload_len;
const guint8 *payload_data;
- gsize smb_file_offset;
+ guint64 smb_file_offset;
guint32 smb_chunk_len;
} smb_eo_t;