This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Compiling CirleMUD under Windows 95 with Cygwin32-b20


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]