aboutsummaryrefslogtreecommitdiff
path: root/std/stdmath.c
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-06-26 23:42:13 -0500
committerCody <cody@codyq.dev>2023-06-26 23:42:13 -0500
commit27b7187c21f6ff4e469592a8ea5757ca6aee8577 (patch)
tree8699d8e175397da0e6b2d73814853b71c03f4a62 /std/stdmath.c
parenta3c5134ee7581168947df8a050c332d7cb7aa426 (diff)
parente1733fc6b3875df434a4c3060bc70286e1f08014 (diff)
downloadsloth-27b7187c21f6ff4e469592a8ea5757ca6aee8577.tar.gz
Merge branch 'master' of github.com:slothlang/slothlang
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;
}