Correct macro expansion in PROTO_TREE_ADD_XXX_ITEM for integer fields.
Change-Id: I57e5dcfabc1c1b4c024b9e1cbfd8b9a34c79c330 Reviewed-on: https://code.wireshark.org/review/8003 Reviewed-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
c2a1d8feed
commit
eb0489b26e
|
@ -2100,7 +2100,7 @@ is also bad mojo, so I'm picking the lesser of two evils I think */
|
|||
if (new_fi == NULL) \
|
||||
return NULL; \
|
||||
\
|
||||
proto_tree_set_uint(new_fi, value); \
|
||||
proto_tree_set_ ## ctype ## (new_fi, value); \
|
||||
\
|
||||
FI_SET_FLAG(new_fi, \
|
||||
(encoding & ENC_LITTLE_ENDIAN) ? FI_LITTLE_ENDIAN : FI_BIG_ENDIAN); \
|
||||
|
|
Loading…
Reference in New Issue