Fixed bug 1646 - Warnings from clang with -Weverything
This commit is contained in:
parent
0749b6e318
commit
f69c47aaea
7 changed files with 30 additions and 7 deletions
|
@ -443,7 +443,7 @@ SDLTest_RandomSint64BoundaryValue(Sint64 boundary1, Sint64 boundary2, SDL_bool v
|
|||
float
|
||||
SDLTest_RandomUnitFloat()
|
||||
{
|
||||
return (float) SDLTest_RandomUint32() / UINT_MAX;
|
||||
return SDLTest_RandomUint32() / (float) UINT_MAX;
|
||||
}
|
||||
|
||||
float
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue