Added missing support for FT_INT64 in proto_tree_add_bits_format_value().

svn path=/trunk/; revision=39561
This commit is contained in:
Stig Bjørlykke 2011-10-25 10:55:52 +00:00
parent b5b8fadc6d
commit 9cc2219ff8
1 changed files with 5 additions and 0 deletions

View File

@ -7486,6 +7486,11 @@ _proto_tree_add_bits_format_value(proto_tree *tree, const int hf_index,
"%s: %s", str, value_str);
break;
case FT_INT64:
return proto_tree_add_int64_format(tree, hf_index, tvb, offset, length, *(gint64 *)value_ptr,
"%s: %s", str, value_str);
break;
case FT_FLOAT:
return proto_tree_add_float_format(tree, hf_index, tvb, offset, length, *(float *)value_ptr,
"%s: %s", str, value_str);