Avoid two warnings in strtol{,l} tests.

This commit is contained in:
Ulrich Drepper 2009-10-30 09:22:34 -07:00
parent 9dd5b8a167
commit 08c7ad975c
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2009-10-30 Ulrich Drepper <drepper@redhat.com>
* stdlib/tst-strtol.c (tests): Mark one more constant as unsigned
to avoid warning.
* stdlib/tst-strtoll.c (tests): Likewise.
[BZ #9986]
* time/strftime_l.c (__strftime_internal): Allow %OC.

View File

@ -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},

View File

@ -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},