diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-08-02 04:27:05 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-08-02 11:27:37 +0000 |
commit | 2a3dba5ea809a25eb581879dd28e48de3a0cc7b5 (patch) | |
tree | 932611a494fa3f922d365e55553d93a1109c293c /epan/dissectors/file-elf.c | |
parent | 0734ac385fbf20cd350850265935a17402d05b84 (diff) |
Add a cast to squelch a warning.
Change-Id: Id8eba103b9edd54bdfdea9144c807c3fbe0cb4e4
Reviewed-on: https://code.wireshark.org/review/3353
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/file-elf.c')
-rw-r--r-- | epan/dissectors/file-elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/file-elf.c b/epan/dissectors/file-elf.c index a65a11da25..f6fa9772be 100644 --- a/epan/dissectors/file-elf.c +++ b/epan/dissectors/file-elf.c @@ -1159,7 +1159,7 @@ dissect_elf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) /* e_ident */ proto_tree_add_item(header_tree, hf_elf_magic_bytes, tvb, offset, sizeof(magic), ENC_NA); - offset += sizeof(magic); + offset += (int)sizeof(magic); proto_tree_add_item(header_tree, hf_elf_file_class, tvb, offset, 1, ENC_NA); register_size *= tvb_get_guint8(tvb, offset); |