Fixed revision type for SDL 1.3

This commit is contained in:
Sam Lantinga 2010-07-05 13:10:47 -07:00
parent 02dc648ea2
commit e03c43c49b

View file

@ -133,7 +133,7 @@ static void parse_options( int argc, char *argv[] )
int main( int argc, char *argv[] ) int main( int argc, char *argv[] )
{ {
int failed; int failed;
int rev; const char *rev;
SDL_version ver; SDL_version ver;
/* Get options. */ /* Get options. */
@ -145,7 +145,7 @@ int main( int argc, char *argv[] )
/* Print some text if verbose. */ /* Print some text if verbose. */
SDL_GetVersion( &ver ); SDL_GetVersion( &ver );
rev = SDL_GetRevision(); 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 ); ver.major, ver.minor, ver.patch, rev );
/* Automatic tests. */ /* Automatic tests. */