From 08c7ad975ca9e9f017dbbd35e2c01f34058ca700 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 30 Oct 2009 09:22:34 -0700 Subject: Avoid two warnings in strtol{,l} tests. --- stdlib/tst-strtol.c | 2 +- stdlib/tst-strtoll.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib') diff --git a/stdlib/tst-strtol.c b/stdlib/tst-strtol.c index 2887854..f569e55 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}, diff --git a/stdlib/tst-strtoll.c b/stdlib/tst-strtoll.c index a5a1eb0..ba33382 100644 --- a/stdlib/tst-strtoll.c +++ b/stdlib/tst-strtoll.c @@ -152,7 +152,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}, -- cgit v1.1