mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Avoid two warnings in strtol{,l} tests.
This commit is contained in:
parent
9dd5b8a167
commit
08c7ad975c
@ -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.
|
||||
|
||||
|
@ -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},
|
||||
|
@ -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},
|
||||
|
Loading…
Reference in New Issue
Block a user