about summary refs log tree commit diff
path: root/stdlib/strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/strtol.c')
-rw-r--r--stdlib/strtol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/strtol.c b/stdlib/strtol.c
index 8db108c2de..2a750d7dc2 100644
--- a/stdlib/strtol.c
+++ b/stdlib/strtol.c
@@ -147,7 +147,7 @@ extern int errno;
 #  define LONG_MAX ((long int) (ULONG_MAX >> 1))
 # endif
 # define STRTOL_LONG_MIN LONG_MIN
-# define STRTOL_LONG_MAX ULONG_MAX
+# define STRTOL_LONG_MAX LONG_MAX
 # define STRTOL_ULONG_MAX ULONG_MAX
 #endif