diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-04-22 18:52:59 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-04-22 18:52:59 +0400 |
commit | 7584ae3200a1399b828e16163cb11dc309d6f9b2 (patch) | |
tree | 68b9c7797808fb46ff5bd3972a1936f8d898c70c /main/getopt.c | |
parent | 5864ce8a447b718d0912cb073afe87eddc47b2e8 (diff) | |
download | php-git-7584ae3200a1399b828e16163cb11dc309d6f9b2.tar.gz |
Fixed compilaation warnings
Diffstat (limited to 'main/getopt.c')
-rw-r--r-- | main/getopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/getopt.c b/main/getopt.c index a31a6c75d5..315467a095 100644 --- a/main/getopt.c +++ b/main/getopt.c @@ -80,7 +80,7 @@ PHPAPI int php_getopt(int argc, char* const *argv, const opt_struct opts[], char } } if ((argv[*optind][0] == '-') && (argv[*optind][1] == '-')) { - char *pos; + const char *pos; int arg_end = strlen(argv[*optind])-1; /* '--' indicates end of args if not followed by a known long option name */ |