about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/tst-strtol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/tst-strtol.c b/stdlib/tst-strtol.c
index d4ab95e1db..ae8fdd4905 100644
--- a/stdlib/tst-strtol.c
+++ b/stdlib/tst-strtol.c
@@ -70,8 +70,8 @@ static const struct ltest tests[] =
   {"922337203685477580777", 9223372036854775807, 0, 0, ERANGE},
   {"9223372036854775810", 9223372036854775807, 0, 0, ERANGE},
   {"-2147483648", -2147483648, 0, 0, 0},
-  {"-9223372036854775808", -9223372036854775808, 0, 0, 0},
-  {"-9223372036854775809", -9223372036854775808, 0, 0, ERANGE},
+  {"-9223372036854775808", 0x8000000000000000, 0, 0, 0},
+  {"-9223372036854775809", 0x8000000000000000, 0, 0, ERANGE},
   {"0x112233445566778899z", 9223372036854775807, 16, 'z', ERANGE},
   {"0xFFFFFFFFFFFF00FF" , 9223372036854775807, 0, 0, ERANGE},
 #endif