This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix warning in posix/tst-getopt_long1.c
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 2 Dec 2014 11:21:09 -0800 (PST)
- Subject: Re: Fix warning in posix/tst-getopt_long1.c
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1411252352150 dot 17237 at digraph dot polyomino dot org dot uk>
The strings won't be modified. So why not just add (char *) casts?