]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
Fix warning in posix/tst-getopt_long1.c.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 2 Dec 2014 22:03:59 +0000 (22:03 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 2 Dec 2014 22:03:59 +0000 (22:03 +0000)
commitb1aff6a41120c1d9cedc1ecedeafc79f161ce982
tree355198c1ce35f90579d11a5b67f405f6694de6ac
parent266865c0e7b79d4196e2cc393693463f03c90bd8
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 *.
ChangeLog
posix/tst-getopt_long1.c