summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--stdio-common/tst-printf-round.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c020ed42b9..23fba3607d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-25 Joseph Myers <joseph@codesourcery.com>
+
+ * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
+ third argument const.
+
2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
fnmatch: work around GCC compiler warning bug with uninit var
diff --git a/stdio-common/tst-printf-round.c b/stdio-common/tst-printf-round.c
index b76360f7e9..5035ddae4c 100644
--- a/stdio-common/tst-printf-round.c
+++ b/stdio-common/tst-printf-round.c
@@ -136,7 +136,7 @@ static const struct hex_test hex_tests[] =
};
static int
-test_hex_in_one_mode (double d, const char *fmt, const char *expected[4],
+test_hex_in_one_mode (double d, const char *fmt, const char *const expected[4],
const char *mode_name)
{
char buf[100];