Fix warning in stdio-common/tst-printf-round.c.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 25 Nov 2014 23:31:21 +0000 (23:31 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 25 Nov 2014 23:31:21 +0000 (23:31 +0000)
commit439e1ad6d04e24f76f92ff7f61153fbe489559b9
treec709adb81d02ffa386339d4b62953ea7d87e4b46
parentb1eda10e17bf2056ca79a534d92fe0b0b06bd410
Fix warning in stdio-common/tst-printf-round.c.

This patch fixes warnings of the form "tst-printf-round.c:202:17:
warning: passing argument 3 of 'test_hex_in_one_mode' discards 'const'
qualifier from pointer target type", by adding an extra const to that
argument (so that after array-to-pointer conversion it's const char
*const *).

Tested for x86_64.

* stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
third argument const.
ChangeLog
stdio-common/tst-printf-round.c