summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index fb287b2..62b6b14 100755
--- a/src/main.c
+++ b/src/main.c
@@ -187,7 +187,7 @@ static void InitIntrHandlers(void)
// The number 1103515245 comes from the example implementation of rand and srand
// in the ISO C standard.
-int Random(void)
+u32 Random(void)
{
gMain.rngValue = 1103515245 * gMain.rngValue + 12345;
return gMain.rngValue & 0xFFFF;