Fixed warning C4245: 'return': conversion from 'int' to 'unsigned int', signed/unsigned mismatch
This commit is contained in:
@@ -82,7 +82,7 @@ unsigned int SDLTest_Random(SDLTest_RandomContext *rndContext)
|
|||||||
unsigned int xh, xl;
|
unsigned int xh, xl;
|
||||||
|
|
||||||
if (!rndContext) {
|
if (!rndContext) {
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
xh = rndContext->x >> 16;
|
xh = rndContext->x >> 16;
|
||||||
|
|||||||
Reference in New Issue
Block a user