Patched test apps to compile with C89 compilers (thanks, Axel!).

Fixes Bugzilla #1772.
This commit is contained in:
Ryan C. Gordon 2013-03-29 21:21:48 -04:00
parent 6432ccda7f
commit f3d6be82af
2 changed files with 5 additions and 2 deletions

View file

@ -42,13 +42,14 @@ main(int argc, char *argv[])
"NO",
"hand",
};
SDL_assert(SDL_arraysize(cursorNames) == SDL_NUM_SYSTEM_CURSORS);
int i, done;
SDL_Event event;
int system_cursor = -1;
SDL_Cursor *cursor = NULL;
SDL_assert(SDL_arraysize(cursorNames) == SDL_NUM_SYSTEM_CURSORS);
/* Initialize test framework */
state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO);
if (!state) {