aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-strtol.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-10-30 09:22:34 -0700
committerUlrich Drepper <drepper@redhat.com>2009-10-30 09:22:34 -0700
commit08c7ad975ca9e9f017dbbd35e2c01f34058ca700 (patch)
tree418e5fcac3ea9828a1a3ccf522a41608db6ad819 /stdlib/tst-strtol.c
parent9dd5b8a167cfc4fdab3c3862ca3cb14fd9836297 (diff)
downloadglibc-08c7ad975ca9e9f017dbbd35e2c01f34058ca700.tar
glibc-08c7ad975ca9e9f017dbbd35e2c01f34058ca700.tar.gz
glibc-08c7ad975ca9e9f017dbbd35e2c01f34058ca700.tar.bz2
glibc-08c7ad975ca9e9f017dbbd35e2c01f34058ca700.zip
Avoid two warnings in strtol{,l} tests.
Diffstat (limited to 'stdlib/tst-strtol.c')
-rw-r--r--stdlib/tst-strtol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/tst-strtol.c b/stdlib/tst-strtol.c
index 28878546f1..f569e55092 100644
--- a/stdlib/tst-strtol.c
+++ b/stdlib/tst-strtol.c
@@ -299,7 +299,7 @@ static const struct ltest tests[] =
{"-2021110011022210012102010021220101220222",
-9223372036854775808ull, 3, 0, 0},
{"-2021110011022210012102010021220101221000",
- -9223372036854775808l, 3, 0, ERANGE},
+ -9223372036854775808ull, 3, 0, ERANGE},
{"-20000000000000000000000000000000", -9223372036854775808ull, 4, 0, 0},
{"-20000000000000000000000000000001", -9223372036854775808ull, 4, 0, ERANGE},
{"-1104332401304422434310311213", -9223372036854775808ull, 5, 0, 0},