This is the mail archive of the
mailing list for the Cygwin project.
RE: ntohl returns negative on Windows XP
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 2 Oct 2006 03:36:28 +0100
- Subject: RE: ntohl returns negative on Windows XP
On 02 October 2006 03:28, Mark Seery wrote:
> ntohl is returning 0xFE725D7B as a negative number (-26059397).
> Is this the correct beavior. Should be: 4268907899?
> variables being used are declared as unsigned int.
Show us the code. Probably you forgot the 'u' off the printf %-specifier.
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html