aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-02-21 23:26:06 -0800
committerGuy Harris <guy@alum.mit.edu>2015-02-22 07:26:41 +0000
commit1157aa8fd18ffad0476312e703757cfda41d2f48 (patch)
tree2e34b08cc40cf3130585ad45167752151d8ff01b /epan/proto.c
parent2196378bcb21eb709d24ae3659125dbf6816cff0 (diff)
Set 64-bit signed values with proto_tree_set_int64().
As in "don't set it with proto_tree_set_uint64(), signed vs. unsigned matters". Change-Id: I23ef3d172fa40c0867dfb6a078ce292bd5282170 Reviewed-on: https://code.wireshark.org/review/7306 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c
index ac4d6dea8a..03b7429090 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -1731,7 +1731,7 @@ proto_tree_new_item(field_info *new_fi, proto_tree *tree,
*/
if (encoding)
encoding = ENC_LITTLE_ENDIAN;
- proto_tree_set_uint64(new_fi,
+ proto_tree_set_int64(new_fi,
get_int64_value(tree, tvb, start, length, encoding));
break;