diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-08-12 15:48:36 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-08-12 15:48:36 +0000 |
commit | 517ef559c28bbade48bc9b2aec9bbe43610821c5 (patch) | |
tree | 35665c62223197a4122323c3763267de4906f3b8 /epan/proto.c | |
parent | 0cf7f5087d27b7a11b20a418701f17d106e07d0a (diff) | |
download | wireshark-517ef559c28bbade48bc9b2aec9bbe43610821c5.tar.gz |
Fix a copy/paste error which triggered bug
svn path=/trunk/; revision=44456
Diffstat (limited to 'epan/proto.c')
-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); } |