diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-08-12 15:48:36 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-08-12 15:48:36 +0000 |
commit | 3806b7854eb3a6cf22dbb916e874cf271d7e15e7 (patch) | |
tree | 35665c62223197a4122323c3763267de4906f3b8 | |
parent | cfc5eb0d58c32cb4abdc074c8322119643f109e8 (diff) |
Fix a copy/paste error which triggered bug
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44456 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | epan/proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c index 3e2be15656..dc23751865 100644 --- a/epan/proto.c +++ b/epan/proto.c @@ -1472,7 +1472,7 @@ proto_tree_new_item(field_info *new_fi, proto_tree *tree, */ if (encoding == TRUE) encoding = ENC_LITTLE_ENDIAN; - if (length != 4) { + if (length != 8) { length_error = length < 8 ? TRUE : FALSE; report_type_length_mismatch(tree, "a double-precision floating point number", length, length_error); } |