delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/08/12/23:45:37

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <411C33E9.42EE82ED@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help PLZ
References: <Xns9543C4B53396000yy77 AT 207 DOT 35 DOT 177 DOT 135>
Lines: 21
Date: Fri, 13 Aug 2004 03:39:52 GMT
NNTP-Posting-Host: 12.76.138.148
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1092368392 12.76.138.148 (Fri, 13 Aug 2004 03:39:52 GMT)
NNTP-Posting-Date: Fri, 13 Aug 2004 03:39:52 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Dumas wrote:
> 
... snip ...
>  unsigned long      x2 = 4294967294;
>     /*unsigned long:[Warning] decimal constant is so large that is
>       unsigned. I'm trying use unsigned, unsigned long with the
        same sesult */

use:

  unsigned long      x2 = 4294967294L;

Note the final L.  That makes it a long constant.  Before it was
an integer constant, and oversized.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


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