> > > > Unfortunately there is no safe way of printing it in C89 (ie > > windows). The best way is: > > printf("... %ld..",(unsigned int)blah); > > note that, on Windows 64 bits, a long is of size 32 bits :)
Why do people use this again? ;-) I assume neither inttypes.h or stdint.h don't exist either? Regards, nash [Noting his printf was meant to be (unsigned long), and still wrong] ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel