about summary refs log tree commit diff
path: root/stdlib/tst-strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-strtol.c')
-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 1566364b32..58878f236e 100644
--- a/stdlib/tst-strtol.c
+++ b/stdlib/tst-strtol.c
@@ -25,8 +25,8 @@ static const struct ltest tests[] =
     { "2147483648",	2147483647,	0,	0,	ERANGE },
     { "214748364888",	2147483647,	0,	0,	ERANGE },
     { "2147483650",	2147483647,	0,	0,	ERANGE },
-    { "-2147483649",	-2147483648,	0,	0,	ERANGE },
-    { "-2147483648",	-2147483648,	0,	0,	0 },
+    { "-2147483649",	0x80000000,	0,	0,	ERANGE },
+    { "-2147483648",	0x80000000,	0,	0,	0 },
     { "0123",		0123,		0,	0,	0 },
     { "0x1122334455z",	2147483647,	16,	'z',	ERANGE },
     { "0x0xc",		0,		0,	'x',	0 },