From b38189c7b41cc2a327ab690a523441bcb3e6f9fe Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 1 Jun 2010 12:25:14 +0200 Subject: fix compiler warning: enumerated type mixed with another type --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3