summaryrefslogtreecommitdiff
path: root/src/code/rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/rand.c')
-rw-r--r--src/code/rand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/code/rand.c b/src/code/rand.c
index 378f0456e..d6199b189 100644
--- a/src/code/rand.c
+++ b/src/code/rand.c
@@ -42,6 +42,7 @@
* @note Original name: qrand.c
*/
#include "rand.h"
+#include "z64math.h"
#define RAND_MULTIPLIER 1664525
#define RAND_INCREMENT 1013904223
@@ -59,7 +60,7 @@ static u32 sRandInt = 1;
*
* @note Orignal name: __qrand_itemp
*/
-static fu sRandFloat;
+static FloatInt sRandFloat;
#endif
/**