char buffer[256];
char *ptr;
char *string=NULL;
- int len=0;
- int stringlen;
+ size_t len=0;
+ size_t stringlen;
if(file) {
while(fgets(buffer, sizeof(buffer), file)) {
/* no password present, prompt for one */
char passwd[256]="";
char prompt[256];
- int passwdlen;
- int userlen = strlen(*userpwd);
+ size_t passwdlen;
+ size_t userlen = strlen(*userpwd);
char *passptr;
/* build a nice-looking prompt */
(('-' == flag[0]) && ('-' == flag[1]))) {
/* this should be a long name */
char *word=('-' == flag[0])?flag+2:flag;
- int fnam=strlen(word);
+ size_t fnam=strlen(word);
int numhits=0;
for(j=0; j< sizeof(aliases)/sizeof(aliases[0]); j++) {
if(curl_strnequal(aliases[j].lname, word, fnam)) {
/* we can loop here if we have multiple single-letters */
if(!longopt)
- letter = parse?*parse:'\0';
+ letter = parse?(char)*parse:'\0';
else {
letter = parse[0];
subletter = parse[1];