diff options
author | Yang Tse <yangsita@gmail.com> | 2010-06-01 12:25:14 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-06-01 12:25:14 +0200 |
commit | b38189c7b41cc2a327ab690a523441bcb3e6f9fe (patch) | |
tree | 49d71e2c1320e17d78579ab6a4c730e1a4c9ebee /src | |
parent | 1bb04927f3f880a3e275db32bb047eb98c925d3f (diff) | |
download | curl-b38189c7b41cc2a327ab690a523441bcb3e6f9fe.tar.gz |
fix compiler warning: enumerated type mixed with another type
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index 4e0128cb7..5827b5ed4 100644 --- a/src/main.c +++ b/src/main.c @@ -2406,12 +2406,12 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ config->ftp_pret = toggle; break; case 'D': /* --proto */ - config->proto_present = 1; + config->proto_present = TRUE; if(proto2num(config, &config->proto, nextarg)) return PARAM_BAD_USE; break; case 'E': /* --proto-redir */ - config->proto_redir_present = 1; + config->proto_redir_present = TRUE; if(proto2num(config, &config->proto_redir, nextarg)) return PARAM_BAD_USE; break; |