diff options
author | 2012-01-14 22:32:45 -0800 | |
---|---|---|
committer | 2012-01-14 22:32:45 -0800 | |
commit | 9b133a978d5f33985a9b66d3a75165e3d50cdfa3 (patch) | |
tree | e846e195756904d8c007ae1f33e77a53d696102c /fish.cpp | |
parent | 203c749e6cc2d5ac0e9e8e240c77d94e179c60d0 (diff) |
Improve const and signed/unsigned correctness
Diffstat (limited to 'fish.cpp')
-rw-r--r-- | fish.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -110,7 +110,7 @@ static int read_init() Parse the argument list, return the index of the first non-switch arguments. */ -static int fish_parse_opt( int argc, char **argv, char **cmd_ptr ) +static int fish_parse_opt( int argc, char **argv, const char **cmd_ptr ) { int my_optind; int force_interactive=0; @@ -280,7 +280,7 @@ int main( int argc, char **argv ) { struct stat tmp; int res=1; - char *cmd=0; + const char *cmd=0; int my_optind=0; halloc_util_init(); |