Wireshark-bugs: [Wireshark-bugs] [Bug 6363] proto: Add support for signed types in _proto_tree_a
Date: Tue, 20 Sep 2011 03:57:11 -0700 (PDT)

--- Comment #1 from Anders Broman <[email protected]> 2011-09-20 03:57:11 PDT ---
+        if (value & (1ULL << (no_of_bits-1)))
>From README.developer

1.1.1 Portability.
When specifying an integral constant that doesn't fit in 32 bits, don't
use "LL" at the end of the constant - not all compilers use "LL" for
that.  Instead, put the constant in a call to the "G_GINT64_CONSTANT()"
macro, e.g.


rather than


Should that be 
+        if (value & (G_GINT64_CONSTANT(1) << (no_of_bits-1)))

Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.