On Mar 1, 2012, at 5:23 PM, Jeff Morriss wrote:

> 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?).
I guess that the problem is not the guint64 variable utf, but the constant 
0xFFFFFFFFFF.
Does the attached patch fix the problem?

Attachment: patch
Description: Binary data

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

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to