Mercurial > sdl-ios-xcode
diff test/automated/testsdl.c @ 4478:c84712de8433
Fixed revision type for SDL 1.3
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 05 Jul 2010 13:10:47 -0700 |
parents | 1a99755b3b04 |
children |
line wrap: on
line diff
--- a/test/automated/testsdl.c Mon Jul 05 13:10:31 2010 -0700 +++ b/test/automated/testsdl.c Mon Jul 05 13:10:47 2010 -0700 @@ -133,7 +133,7 @@ int main( int argc, char *argv[] ) { int failed; - int rev; + const char *rev; SDL_version ver; /* Get options. */ @@ -145,7 +145,7 @@ /* Print some text if verbose. */ SDL_GetVersion( &ver ); rev = SDL_GetRevision(); - SDL_ATprintVerbose( 1, "Running tests with SDL %d.%d.%d revision %d\n", + SDL_ATprintVerbose( 1, "Running tests with SDL %d.%d.%d revision %s\n", ver.major, ver.minor, ver.patch, rev ); /* Automatic tests. */