Fixed an error reported by gcc on Fedora about format-security (#373)
This fixes something that is neither invalid nor a security vulnerability, Still, distros other than Fedora may decide to report it in the future as an error too. So we are getting ahead of them.
This commit is contained in:
parent
6b45ec2d2f
commit
d3f5d40d4b
@ -324,7 +324,7 @@ MA 02110-1301, USA.
|
||||
}
|
||||
|
||||
int testAttrib = -1;
|
||||
OOLog(@"display.initGL", @"Achieved color / depth buffer sizes (bits):");
|
||||
OOLog(@"display.initGL", @"%@", @"Achieved color / depth buffer sizes (bits):");
|
||||
SDL_GL_GetAttribute(SDL_GL_RED_SIZE, &testAttrib);
|
||||
OOLog(@"display.initGL", @"Red: %d", testAttrib);
|
||||
SDL_GL_GetAttribute(SDL_GL_GREEN_SIZE, &testAttrib);
|
||||
|
Loading…
x
Reference in New Issue
Block a user