Improve const and signed/unsigned correctness

This commit is contained in:
Peter Ammon
2012-01-14 22:32:45 -08:00
parent 203c749e6c
commit 9b133a978d
11 changed files with 28 additions and 30 deletions

View File

@@ -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();