mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-09 14:21:14 +03:00
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 *.
1.3 KiB
1.3 KiB