diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-06-28 18:46:36 -0500 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-06-28 18:46:36 -0500 |
| commit | 8262abdea18cdb873b2012411bfebe131fb37d52 (patch) | |
| tree | 920903ef91ffe2d4b7dd24b0d34a616d424c3732 /std/stdlib.c | |
| parent | 73843fa284968b4efb0ae51858cb37d0189c4b83 (diff) | |
| download | sloth-8262abdea18cdb873b2012411bfebe131fb37d52.tar.gz | |
std
Diffstat (limited to 'std/stdlib.c')
| -rw-r--r-- | std/stdlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/stdlib.c b/std/stdlib.c index 3878817..4a650a4 100644 --- a/std/stdlib.c +++ b/std/stdlib.c @@ -41,7 +41,7 @@ int as_int(float x) { } char* istr(int x) { - char* snum[100]; + char* snum = malloc(12); sprintf(snum, "%d", x); //char* result = snum; return snum; |
