r424 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jan 16 05:10:49 EST 2008


Author: icculus
Date: 2008-01-16 05:10:34 -0500 (Wed, 16 Jan 2008)
New Revision: 424

Modified:
   trunk/stb_image.c
Log:
Patched to compile on Mac OS X.


Modified: trunk/stb_image.c
===================================================================
--- trunk/stb_image.c	2008-01-15 03:50:43 UTC (rev 423)
+++ trunk/stb_image.c	2008-01-16 10:10:34 UTC (rev 424)
@@ -782,7 +782,10 @@
 
 static unsigned char *convert_format(unsigned char *data, int img_n, int req_comp)
 {
-   uint i,j;
+#if __MOJOSETUP__
+   //uint i,j;
+   uint32 i,j;
+#endif
    unsigned char *good;
 
    if (req_comp == img_n) return data;




More information about the mojosetup-commits mailing list