diff options
Diffstat (limited to 'std/stdlib.c')
| -rw-r--r-- | std/stdlib.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/std/stdlib.c b/std/stdlib.c index 7e77385..11ae42f 100644 --- a/std/stdlib.c +++ b/std/stdlib.c @@ -2,18 +2,18 @@ #include <stdlib.h> #include <string.h> -void wait(long long x) { +void wait(int x) { sleep(x); } -long long slen(char *str) { - return (long long) strlen(str); +int slen(char *str) { + return (int) strlen(str); } -char charAt(char *str, long long x) { +char charAt(char *str, int x) { return str[x]; } -long long parse_int(char *str) { - return (long long) atoi(str); +int parse_int(char *str) { + return (int) atoi(str); } |
