Warning fixes for 64bit visual c++ on Windows
This commit is contained in:
parent
c767b33c3f
commit
edcdaaec16
17 changed files with 55 additions and 55 deletions
|
|
@ -687,7 +687,7 @@ static int replace_simple(String *str, char *token, char *rep, int flags, int co
|
|||
return 0;
|
||||
|
||||
base = str->str;
|
||||
tokenlen = strlen(token);
|
||||
tokenlen = (int)strlen(token);
|
||||
s = (*match) (base, base, token, tokenlen);
|
||||
|
||||
if (!s)
|
||||
|
|
@ -724,7 +724,7 @@ static int replace_simple(String *str, char *token, char *rep, int flags, int co
|
|||
}
|
||||
|
||||
first = s;
|
||||
replen = strlen(rep);
|
||||
replen = (int)strlen(rep);
|
||||
|
||||
delta = (replen - tokenlen);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue