Changeset: bc3ef8eee477 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/bc3ef8eee477
Modified Files:
        gdk/gdk_hash.c
Branch: Mar2025
Log Message:

Add a cast.


diffs (12 lines):

diff --git a/gdk/gdk_hash.c b/gdk/gdk_hash.c
--- a/gdk/gdk_hash.c
+++ b/gdk/gdk_hash.c
@@ -801,7 +801,7 @@ BAThash_impl(BAT *restrict b, struct can
                mask = HASHmask(ci->ncand);
        } else if (!hascand && bi.unique_est != 0) {
                maxmask = HASHmask(ci->ncand);
-               mask = HASHmask(bi.unique_est);
+               mask = HASHmask((BUN) bi.unique_est);
                if (mask < maxmask) {
                        /* it's only an estimate: try out on first 25%
                         * of b */
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to