summaryrefslogtreecommitdiff
blob: 7617ad6b9a8e6c91c9631b464b98c8607b9f3937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
http://exult.svn.sourceforge.net/viewvc/exult/exult/trunk/shapes/pngio.cc?r1=3752&r2=5381

--- shapes/pngio.cc
+++ shapes/pngio.cc
@@ -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);