mirror of https://gitee.com/Nocallback/glibc.git
Browse Source
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 *.siddhesh/posix-wundef
2 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue