From f1d51ab62444620be0dbd14995d980e1ccab1c72 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Wed, 22 Nov 2000 18:01:05 +0000 Subject: [PATCH] Added a "const". committer: mfx 974916065 +0000 --- src/mygetopt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mygetopt.cpp b/src/mygetopt.cpp index da1dba38..a685f6d8 100644 --- a/src/mygetopt.cpp +++ b/src/mygetopt.cpp @@ -530,7 +530,7 @@ static int _getopt_internal (int argc, char **argv, const char *optstring, { char c = *nextchar++; - char *temp = my_index (optstring, c); + const char *temp = my_index (optstring, c); /* Increment `optind' when we start to process its last character. */ if (*nextchar == '\0')