delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/01/22:27:59

X-Spam-Check-By: sourceware.org
Message-ID: <20061002022748.58592.qmail@web31809.mail.mud.yahoo.com>
Date: Sun, 1 Oct 2006 19:27:48 -0700 (PDT)
From: Mark Seery <m_seery AT yahoo DOT com>
Subject: ntohl returns negative on Windows XP
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k922RuL6029909

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.
 
cyg version 1.90
windows XP professional 2002 service pack 2

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019