about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-12-02 22:03:59 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-12-02 22:03:59 +0000
commitb1aff6a41120c1d9cedc1ecedeafc79f161ce982 (patch)
tree355198c1ce35f90579d11a5b67f405f6694de6ac /ChangeLog
parent266865c0e7b79d4196e2cc393693463f03c90bd8 (diff)
downloadglibc-b1aff6a41120c1d9cedc1ecedeafc79f161ce982.tar.gz
glibc-b1aff6a41120c1d9cedc1ecedeafc79f161ce982.tar.xz
glibc-b1aff6a41120c1d9cedc1ecedeafc79f161ce982.zip
Fix warning in posix/tst-getopt_long1.c.
This patch fixes a "discards qualifiers" warning in
posix/tst-getopt_long1.c.  glibc is built with -Wwrite-strings,
meaning a char * cannot be initialized directly with a string
constant; the patch casts the string constants to char *.

Tested for x86_64.

	* posix/tst-getopt_long1.c (do_test): Cast elements of argv array
	to char *.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b764c00b2..c6ee845ff6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
 
+	* posix/tst-getopt_long1.c (do_test): Cast elements of argv array
+	to char *.
+
 	[BZ #17665]
 	* posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
 	Change conditional to [__USE_MISC].