Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Avoid two warnings in strtol{,l} tests.
  • Loading branch information
Ulrich Drepper committed Oct 30, 2009
1 parent 9dd5b8a commit 08c7ad9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion stdlib/tst-strtol.c
Expand Up @@ -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},
Expand Down
2 changes: 1 addition & 1 deletion stdlib/tst-strtoll.c
Expand Up @@ -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},
Expand Down

0 comments on commit 08c7ad9

Please sign in to comment.