Fix a copy/paste error which triggered bug

svn path=/trunk/; revision=44456
This commit is contained in:
Gerald Combs 2012-08-12 15:48:36 +00:00
parent 0cf7f5087d
commit 517ef559c2
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}