mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-29 07:59:11 +00:00
Fixed bug 1646 - Warnings from clang with -Weverything
This commit is contained in:
parent
0d24495b15
commit
818d1d3e80
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