proto: Decode negative values in a bitmask field
authorThomas Wiens <th.wiens@gmx.de>
Tue, 1 Nov 2016 11:54:23 +0000 (12:54 +0100)
committerGuy Harris <guy@alum.mit.edu>
Wed, 2 Nov 2016 21:35:02 +0000 (21:35 +0000)
commit46160ff0394c9aa1fe99c8ac34fb83d70b206460
tree5a0f2fb2fce65b26c8dff4420509e8737fb87207
parenta4f3ca29db9347f81fb6305c791f4fc967dd3eb9
proto: Decode negative values in a bitmask field

Allows to use negative values (FT_INT) in a bitmask field.
If a field type greater or equal (FT_(U)INT40) is used then also
a 64 bit value string and 64 bit format function must be used.

Change-Id: Ib86d45bee73a71a784068ab717d35810c6f48017
Reviewed-on: https://code.wireshark.org/review/18601
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
epan/proto.c