Compiling CirleMUD under Windows 95 with Cygwin32-b20

Nicholas nick@selectrec.net
Fri Jun 25 20:10:00 GMT 1999


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?    
 
 
                                                                                                
-/\/ick \/.



More information about the Cygwin mailing list