src/test/SDL_test_fuzzer.c
changeset 10616 d17dd08640a4
parent 10609 d702ecbd8ba7
child 10635 49026b20848e
     1.1 --- a/src/test/SDL_test_fuzzer.c	Tue Nov 15 01:24:58 2016 -0800
     1.2 +++ b/src/test/SDL_test_fuzzer.c	Tue Nov 15 01:30:08 2016 -0800
     1.3 @@ -443,7 +443,7 @@
     1.4  float
     1.5  SDLTest_RandomUnitFloat()
     1.6  {
     1.7 -    return (float) SDLTest_RandomUint32() / UINT_MAX;
     1.8 +    return SDLTest_RandomUint32() / (float) UINT_MAX;
     1.9  }
    1.10  
    1.11  float