Changeset: ca6b748e5561 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ca6b748e5561
Modified Files:
sql/backends/monet5/UDF/pyapi3/pyapi3.c
Branch: Jan2022
Log Message:
Compilation fix
diffs (16 lines):
diff --git a/sql/backends/monet5/UDF/pyapi3/pyapi3.c
b/sql/backends/monet5/UDF/pyapi3/pyapi3.c
--- a/sql/backends/monet5/UDF/pyapi3/pyapi3.c
+++ b/sql/backends/monet5/UDF/pyapi3/pyapi3.c
@@ -203,10 +203,10 @@ static str PyAPIeval(Client cntxt, MalBl
// If the first input argument is of type lng, this is a
cardinality-only bulk operation.
int has_card_arg = 0;
- lng card; // cardinality of non-bat inputs
+ BUN card; // cardinality of non-bat inputs
if (getArgType(mb, pci, pci->retc) == TYPE_lng) {
has_card_arg=1;
- card = *getArgReference_lng(stk, pci, pci->retc);
+ card = (BUN) *getArgReference_lng(stk, pci, pci->retc);
}
else {
has_card_arg=0;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list