X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetopt.c;h=3791f1293724c6ab74f4c45f57c3a2a4a3a31811;hb=82afcdd;hp=738d998bbe347f0782955638311792d4d35f67ef;hpb=db3e2806244ae65274db73e6cbd09ca5e9ac4cf8;p=gnulib.git diff --git a/lib/getopt.c b/lib/getopt.c index 738d998bb..3791f1293 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -738,7 +738,7 @@ _getopt_internal_r (int argc, char **argv, const char *optstring, { char c = *d->__nextchar++; - char *temp = strchr (optstring, c); + const char *temp = strchr (optstring, c); /* Increment `optind' when we start to process its last character. */ if (*d->__nextchar == '\0')