# HG changeset patch # User Sam Lantinga # Date 1278360647 25200 # Node ID c84712de8433f313a8e740f99e8ffb503146ff2a # Parent f0f875be10d03121639277a86ea5e1de2ab6ac67 Fixed revision type for SDL 1.3 diff -r f0f875be10d0 -r c84712de8433 test/automated/testsdl.c --- 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. */