From d1a9277f8f602979860d8f9ba94ede143b30b178 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 5 Jul 2010 13:10:47 -0700 Subject: [PATCH] Fixed revision type for SDL 1.3 --- test/automated/testsdl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/automated/testsdl.c b/test/automated/testsdl.c index 917e923e8..9d9f037b1 100644 --- a/test/automated/testsdl.c +++ b/test/automated/testsdl.c @@ -133,7 +133,7 @@ static void parse_options( int argc, char *argv[] ) int main( int argc, char *argv[] ) { int failed; - int rev; + const char *rev; SDL_version ver; /* Get options. */ @@ -145,7 +145,7 @@ int main( int argc, char *argv[] ) /* 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. */