Wireshark mailing list archives

Re: [Wireshark-dev] buildbot failure in Wireshark (development) on Visual-Studio-Code-Analysis


From: Chris Maynard <chris.maynard () gtech com>
Date: Mon, 28 Mar 2011 22:31:13 +0000 (UTC)

Stephen Fisher <steve@...> writes:

packet-vnc.c(1970) : warning C4018: '>' : signed/unsigned mismatch

Any ideas?

I added a cast that fixes it.  I'm not 100% sure why the warning, but I think it
might be because the multiplication operation promotes the guint8's to int's.


___________________________________________________________________________
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: