Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Nicholas" To: Subject: Compiling CirleMUD under Windows 95 with Cygwin32-b20 Date: Fri, 25 Jun 1999 22:06:18 -0500 Message-ID: <01bebf80$dcb32680$5b38b8d1@vogmudet> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01BEBF56.F3DD1E80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 ------=_NextPart_000_0004_01BEBF56.F3DD1E80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am trying to compile a program, I have some unsigned long integers? = How do I represent them? I try to use them like this typedef unsigned long int ulo_int; ulo_int money; /*money is loaded from a file */ sprintf(buf, "You have %l dollars.", money); gcc give me a warning : "warning : int format, long int arg (arg #) how do you use unsigned long int's? =20 = -/\/ick \/. ------=_NextPart_000_0004_01BEBF56.F3DD1E80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am trying to compile a program, I = have some=20 unsigned long integers? How do I represent them? I try to use them like=20 this
 
typedef unsigned long=20 int          = ulo_int;
 
ulo_int         &nb= sp;           &nbs= p;            = ;  =20 money;
 /*money is loaded from a file = */ 
 
sprintf(buf, "You have %l = dollars.",=20 money);
 
gcc give me a warning : = "warning : int=20 format, long int arg (arg #)
 
how do you use unsigned long=20 int's?   
 
 
          &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;           =20 -/\/ick \/.
------=_NextPart_000_0004_01BEBF56.F3DD1E80--