mirror of https://github.com/libsdl-org/SDL
Fixed compiler warning
This commit is contained in:
parent
f55c998891
commit
1c43705bab
|
@ -70,7 +70,7 @@ void SDLTest_RandomInitTime(SDLTest_RandomContext * rndContext)
|
|||
|
||||
srand((unsigned int)time(NULL));
|
||||
a=rand();
|
||||
srand(clock());
|
||||
srand((unsigned int)clock());
|
||||
b=rand();
|
||||
SDLTest_RandomInit(rndContext, a, b);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue