Changeset: e46eb0d16837 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e46eb0d16837 Modified Files: sql/backends/monet5/sql.c Branch: default Log Message:
add casts to fix compilation on windows diffs (30 lines): diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c --- a/sql/backends/monet5/sql.c +++ b/sql/backends/monet5/sql.c @@ -4546,7 +4546,7 @@ BATSTRindex_int(bat *res, bat *src, bit pad += GDK_VARALIGN; pos += pad + extralen; s = h->base + pos; - v = pos-GDK_STRHASHSIZE; + v = (int)(pos-GDK_STRHASHSIZE); BUNappend(r, &v, FALSE); pos += GDK_STRLEN(s); } @@ -4594,7 +4594,7 @@ BATSTRindex_sht(bat *res, bat *src, bit pad += GDK_VARALIGN; pos += pad + extralen; s = h->base + pos; - v = pos-GDK_STRHASHSIZE; + v = (sht)(pos-GDK_STRHASHSIZE); BUNappend(r, &v, FALSE); pos += GDK_STRLEN(s); } @@ -4642,7 +4642,7 @@ BATSTRindex_bte(bat *res, bat *src, bit pad += GDK_VARALIGN; pos += pad + extralen; s = h->base + pos; - v = pos-GDK_STRHASHSIZE; + v = (bte)(pos-GDK_STRHASHSIZE); BUNappend(r, &v, FALSE); pos += GDK_STRLEN(s); } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list