Changeset: 9808cd4e65fd for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9808cd4e65fd Modified Files: monetdb5/modules/atoms/json.c Branch: Jun2020 Log Message:
A size_t is not the same as an unsigned int. diffs (12 lines): diff --git a/monetdb5/modules/atoms/json.c b/monetdb5/modules/atoms/json.c --- a/monetdb5/modules/atoms/json.c +++ b/monetdb5/modules/atoms/json.c @@ -1187,7 +1187,7 @@ JSONplaintext(char **r, size_t *l, size_ break; default: if (*l < jt->elm[idx].valuelen + sep_len + 1) { - unsigned int offset = *ilen - *l; + size_t offset = *ilen - *l; char *p = *r - offset; *ilen *= 2; *r = GDKrealloc(p, *ilen); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list