Changeset: 4580db707108 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4580db707108
Modified Files:
monetdb5/modules/kernel/algebra.c
Branch: default
Log Message:
Add some casts.
diffs (12 lines):
diff --git a/monetdb5/modules/kernel/algebra.c
b/monetdb5/modules/kernel/algebra.c
--- a/monetdb5/modules/kernel/algebra.c
+++ b/monetdb5/modules/kernel/algebra.c
@@ -1054,7 +1054,7 @@ ALGfirstn(Client cntxt, MalBlkPtr mb, Ma
o = (lng) BATcount(b);
if ((BUN) o + (BUN) n > BATcount(b))
n = (lng) BATcount(b) - o;
- bn = BATdense(0, b->hseqbase + o, n);
+ bn = BATdense(0, b->hseqbase + (oid) o, (BUN) n);
if (bn == NULL)
rc = GDK_FAIL;
} else if (o > 0) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]