Changeset: 789a43b555bc for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/789a43b555bc
Modified Files:
        sql/backends/monet5/bin_partition_by_slice.c
Branch: default
Log Message:

Add a cast.


diffs (17 lines):

diff --git a/sql/backends/monet5/bin_partition_by_slice.c 
b/sql/backends/monet5/bin_partition_by_slice.c
--- a/sql/backends/monet5/bin_partition_by_slice.c
+++ b/sql/backends/monet5/bin_partition_by_slice.c
@@ -51,7 +51,7 @@ exp_getcard(mvc *sql, sql_rel *rel, sql_
                        (min = find_prop(e->p, PROP_MIN)) != NULL &&
                        (max = find_prop(e->p, PROP_MAX)) != NULL) {
                atom *uniques = atom_sub(sql->sa, max->value.pval, 
min->value.pval);
-               est = atom_get_int(uniques);
+               est = (BUN) atom_get_int(uniques);
        } else
                est = get_rel_count(rel);
 
@@ -1477,4 +1477,3 @@ rel2bin_groupby_pp(backend *be, sql_rel 
        }
        return cursub;
 }
-
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to