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
|
|
@ -744,7 +744,7 @@ static String *remove_block(Node *kw, const String *inputcode) {
|
|||
String *name = Getattr(kw,"name");
|
||||
if (name && (Cmp(name,"noblock") == 0)) {
|
||||
char *cstr = Char(inputcode);
|
||||
size_t len = Len(inputcode);
|
||||
int len = Len(inputcode);
|
||||
if (len && cstr[0] == '{') {
|
||||
--len; ++cstr;
|
||||
if (len && cstr[len - 1] == '}') { --len; }
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ String *partial_arg(String *s, String *p) {
|
|||
if (!c) {
|
||||
return Copy(s);
|
||||
}
|
||||
prefix = NewStringWithSize(cp, c - cp);
|
||||
prefix = NewStringWithSize(cp, (int)(c - cp));
|
||||
newarg = Copy(s);
|
||||
Replace(newarg, prefix, "", DOH_REPLACE_ANY | DOH_REPLACE_FIRST);
|
||||
Delete(prefix);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue