mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 23:10:04 +00:00
(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.
This commit is contained in:
parent
ea218de179
commit
d7e0dd6e82
@ -44,7 +44,7 @@ static bool OpenPNGFile(const char *filename, uint32 id, bool mask)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user