Changeset - r9151:8f9b91035e52
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-05-08 13:51:15
rubidium@openttd.org
(svn r13013) -Fix: GCC 4.3 warning about a clobbering mask due to longjmp. This can't be solved by using exceptions because the longjmp is needed for PNG (C-code) handling.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/spriteloader/png.cpp
Show inline comments
 
@@ -41,13 +41,13 @@ static bool OpenPNGFile(const char *file
 
	}
 

	
 
	/* TODO -- Add TAR support */
 
	return false;
 
}
 

	
 
static bool LoadPNG(SpriteLoader::Sprite *sprite, const char *filename, uint32 id, bool mask)
 
static bool LoadPNG(SpriteLoader::Sprite *sprite, const char *filename, uint32 id, volatile bool mask)
 
{
 
	png_byte header[8];
 
	png_structp png_ptr;
 
	png_infop info_ptr, end_info;
 
	uint bit_depth, color_type;
 
	uint i, pixelsize;
0 comments (0 inline, 0 general)