diff options
author | Marvin Borner | 2021-02-25 20:45:10 +0100 |
---|---|---|
committer | Marvin Borner | 2021-02-25 20:45:10 +0100 |
commit | a9710cb73cc9ecadaff241428a39a26935cb5c0a (patch) | |
tree | 68f509407bc49a4da43ccadfd9115b9e6f7eb413 /libc/random.c | |
parent | 26587adae4f5ec61d03fd7075805a24b29107fe3 (diff) |
Applied even more warning flags!
Fixing all the warnings wasn't that easy actually..
Diffstat (limited to 'libc/random.c')
-rw-r--r-- | libc/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/random.c b/libc/random.c index a2a8273..8c8076f 100644 --- a/libc/random.c +++ b/libc/random.c @@ -11,7 +11,7 @@ void srand(u32 seed) g_seed = seed; } -u32 rand() +u32 rand(void) { g_seed = g_seed * 1103515245 + 12345; return (g_seed >> 16) & 0x7FFF; |