Fix a copy/paste error which triggered bug
svn path=/trunk/; revision=44456
This commit is contained in:
parent
0cf7f5087d
commit
517ef559c2
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue