summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrse <rse>2007-06-14 15:58:12 +0000
committerrse <rse>2007-06-14 15:58:12 +0000
commitb9c938d223382c2e29a553fd6760068e3ce6c85e (patch)
tree3e51da69befa0ebfb91122b6f97b5e12f20f9dff
parent92398e9338a61eb6ea260931dc413d9c444f566a (diff)
downloadlibpopt-b9c938d223382c2e29a553fd6760068e3ce6c85e.tar.gz
resolve a remaining 'const' issue
-rw-r--r--popt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/popt.c b/popt.c
index 244ecce..a9b1bd3 100644
--- a/popt.c
+++ b/popt.c
@@ -764,7 +764,7 @@ int poptGetNextOpt(poptContext con)
/* Process next long option */
if (!con->os->nextCharArg) {
- char * optString;
+ const char * optString;
int optStringLen;
int thisopt;
@@ -805,7 +805,7 @@ int poptGetNextOpt(poptContext con)
con->restLeftover = 1;
continue;
} else {
- char *oe;
+ const char *oe;
int singleDash;
optString++;