Changeset: 74e3ed29bb41 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/74e3ed29bb41
Modified Files:
monetdb5/mal/mal_listing.c
Branch: no_type_bat
Log Message:
more signedness fixes for windows
diffs (30 lines):
diff --git a/monetdb5/mal/mal_listing.c b/monetdb5/mal/mal_listing.c
--- a/monetdb5/mal/mal_listing.c
+++ b/monetdb5/mal/mal_listing.c
@@ -191,7 +191,7 @@ beginning of each line.
str
cfcnDefinition(Symbol s, str t, int flg, str base, size_t len)
{
- int i;
+ unsigned int i;
str arg, tpe;
mel_func *f = s->func;
@@ -225,7 +225,7 @@ cfcnDefinition(Symbol s, str t, int flg,
}
if (f->args[i].isbat && !copystring(&t, "]", &len))
return base;
- if (i < f->argc - 1 && !copystring(&t, ", ", &len))
+ if (i+1 < f->argc && !copystring(&t, ", ", &len))
return base;
}
@@ -275,7 +275,7 @@ cfcnDefinition(Symbol s, str t, int flg,
}
if (f->args[i].isbat && !copystring(&t, "]", &len))
return base;
- if (i < f->retc - 1 && !copystring(&t, ", ", &len))
+ if (i+1 < f->retc && !copystring(&t, ", ", &len))
return base;
}
if (f->vrets && !copystring(&t, "...", &len))
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]