diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/tool_cfgable.h | 2 | ||||
| -rw-r--r-- | src/tool_operate.c | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h index 614f8b9b0..bef482282 100644 --- a/src/tool_cfgable.h +++ b/src/tool_cfgable.h @@ -37,7 +37,7 @@ struct Configurable {    bool cookiesession;       /* new session? */    bool encoding;            /* Accept-Encoding please */    bool tr_encoding;         /* Transfer-Encoding please */ -  long authtype;            /* auth bitmask */ +  unsigned long authtype;   /* auth bitmask */    bool use_resume;    bool resume_from_current;    bool disable_epsv; diff --git a/src/tool_operate.c b/src/tool_operate.c index 8c544194a..61b04d788 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -680,7 +680,7 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[])            int authbits = 0;            int bitcheck = 0;            while(bitcheck < 32) { -            if(config->authtype & (1 << bitcheck++)) { +            if(config->authtype & (1UL << bitcheck++)) {                authbits++;                if(authbits > 1) {                  /* more than one, we're done! */  | 
