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