summaryrefslogtreecommitdiff
path: root/src/stdlib/atoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/atoll.c')
-rw-r--r--src/stdlib/atoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/atoll.c b/src/stdlib/atoll.c
index bc098876..0e79ef49 100644
--- a/src/stdlib/atoll.c
+++ b/src/stdlib/atoll.c
@@ -2,7 +2,7 @@
long long int atoll(const char *nptr)
{
- return strtoll(str, (char**)NULL, 10);
+ return strtoll(nptr, (char**)NULL, 10);
}
/*