diff options
| author | nic-gaffney <gaffney_nic@protonmail.com> | 2023-06-26 22:51:03 -0500 |
|---|---|---|
| committer | nic-gaffney <gaffney_nic@protonmail.com> | 2023-06-26 22:51:03 -0500 |
| commit | e1733fc6b3875df434a4c3060bc70286e1f08014 (patch) | |
| tree | b7da493cea4771f35e9ca8c4b9584891d2194959 /std/stdmath.c | |
| parent | 8c9bd55e161ba5fcaea626a1db2e0b685ac4f096 (diff) | |
| download | sloth-e1733fc6b3875df434a4c3060bc70286e1f08014.tar.gz | |
standard lib
Diffstat (limited to 'std/stdmath.c')
| -rw-r--r-- | std/stdmath.c | 2 |
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; } |
