From: <js...@us...> - 2005-08-12 04:14:55
|
Update of /cvsroot/exult/exult/shapes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25432/shapes Modified Files: pngio.cc Log Message: Fixed decls Index: pngio.cc =================================================================== RCS file: /cvsroot/exult/exult/shapes/pngio.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- pngio.cc 16 Apr 2002 05:39:31 -0000 1.11 +++ pngio.cc 12 Aug 2005 04:14:16 -0000 1.12 @@ -89,7 +89,7 @@ // Indicate we already read something. png_set_sig_bytes(png, sizeof(sigbuf)); png_read_info(png, info); // Read in image info. - unsigned long w, h; + png_uint_32 w, h; int depth, color, interlace; png_get_IHDR(png, info, &w, &h, &depth, &color, &interlace, 0, 0); @@ -316,7 +316,7 @@ // Indicate we already read something. png_set_sig_bytes(png, sizeof(sigbuf)); png_read_info(png, info); // Read in image info. - unsigned long w, h; + png_uint_32 w, h; int depth, color, interlace; png_get_IHDR(png, info, &w, &h, &depth, &color, &interlace, 0, 0); |