bugfix in get_option()
This commit is contained in:
1 parent
556fe9b8a6
commit
9becc99e02
2 files changed
+2
-2
No files matched your search
@@ -167,7 +167,7 @@ int get_option(int argc, const char **argv, const char *opts, const struct long_
|
||||
}
|
||||
else
|
||||
{
|
||||
register char *cp; /* pointer into current token */
|
||||
register const char *cp; /* pointer into current token */
|
||||
|
||||
/* short command line option */
|
||||
opt_opt = argv[opt_ind][sp];
|
||||
|
||||
@@ -176,7 +176,7 @@ int get_option(int argc, const char **argv, const char *opts, const struct long_
|
||||
}
|
||||
else
|
||||
{
|
||||
register char *cp; /* pointer into current token */
|
||||
register const char *cp; /* pointer into current token */
|
||||
|
||||
/* short command line option */
|
||||
opt_opt = argv[opt_ind][sp];
|
||||
|
||||
Reference in new issue
Block a user