Wireshark mailing list archives

guint64 is a 'long' on 32-bit MacOS?


From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Thu, 01 Mar 2012 11:23:42 -0500

The 10.5-x86 and 10.5-ppc MacOS buildbots currently fail to compile the current SVN with these warnings:

packet-noe.c: In function 'decode_utf8':
packet-noe.c:805: warning: integer constant is too large for 'long' type
packet-noe.c:808: warning: integer constant is too large for 'long' type
packet-noe.c:814: warning: integer constant is too large for 'long' type
packet-noe.c:817: warning: integer constant is too large for 'long' type
packet-noe.c:818: warning: integer constant is too large for 'long' type

But the variables in question are guint64's (which should presumably be "long long"s on these 32-bit OS's, right?).

Ideas?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: