mirror of https://github.com/encounter/SDL.git
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));
|
srand((unsigned int)time(NULL));
|
||||||
a=rand();
|
a=rand();
|
||||||
srand(clock());
|
srand((unsigned int)clock());
|
||||||
b=rand();
|
b=rand();
|
||||||
SDLTest_RandomInit(rndContext, a, b);
|
SDLTest_RandomInit(rndContext, a, b);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue