summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lua/strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/strtol.c')
-rw-r--r--apps/plugins/lua/strtol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/strtol.c b/apps/plugins/lua/strtol.c
index 184951b844..3dd29b6b57 100644
--- a/apps/plugins/lua/strtol.c
+++ b/apps/plugins/lua/strtol.c
@@ -2,7 +2,7 @@
extern unsigned long int strtoul(const char *ptr, char **endptr, int base);
-#define ABS_LONG_MIN 2147483648UL
+#define ABS_LONG_MIN LONG_MAX
long int strtol(const char *nptr, char **endptr, int base)
{
int neg=0;