diff --git a/src/test/SDL_test_random.c b/src/test/SDL_test_random.c index 72eceadc7e..679ef7ee00 100644 --- a/src/test/SDL_test_random.c +++ b/src/test/SDL_test_random.c @@ -82,7 +82,7 @@ unsigned int SDLTest_Random(SDLTest_RandomContext *rndContext) unsigned int xh, xl; if (!rndContext) { - return -1; + return 0; } xh = rndContext->x >> 16;