aboutsummaryrefslogtreecommitdiff
path: root/std/stdmath.c
diff options
context:
space:
mode:
authornic-gaffney <gaffney_nic@protonmail.com>2023-06-26 22:51:03 -0500
committernic-gaffney <gaffney_nic@protonmail.com>2023-06-26 22:51:03 -0500
commite1733fc6b3875df434a4c3060bc70286e1f08014 (patch)
treeb7da493cea4771f35e9ca8c4b9584891d2194959 /std/stdmath.c
parent8c9bd55e161ba5fcaea626a1db2e0b685ac4f096 (diff)
downloadsloth-e1733fc6b3875df434a4c3060bc70286e1f08014.tar.gz
standard lib
Diffstat (limited to 'std/stdmath.c')
-rw-r--r--std/stdmath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/stdmath.c b/std/stdmath.c
index dad292f..37c81b0 100644
--- a/std/stdmath.c
+++ b/std/stdmath.c
@@ -3,7 +3,7 @@
#include <time.h>
-long long randGen(long long min, long long max) {
+int randGen(int min, int max) {
srandom((unsigned) time(NULL));
return random() % (max - min + 1) + min;
}