Fix warning for clang 10

This commit is contained in:
aurhat
2020-11-03 12:52:37 +01:00
parent fd89c56f17
commit 2ecb3646e1
+1 -1
View File
@@ -95,7 +95,7 @@ float RandomFloat (float from, float to)
if (to <= from)
return (from);
return (from + (float) lrand () / (LRAND_MAX / (to - from)));
return (from + (float) lrand () / ((float) LRAND_MAX / (to - from)));
}
// End random functions