Changeset: c24361fdf123 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/c24361fdf123
Modified Files:
gdk/gdk.h
Branch: default
Log Message:
Add a cast.
diffs (12 lines):
diff --git a/gdk/gdk.h b/gdk/gdk.h
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -1495,7 +1495,7 @@ BATsettrivprop(BAT *b)
b->tkey = c != 0;
b->tnokey[0] = 0;
b->tnokey[1] = !b->tkey;
- b->tunique_est = 1 + b->tkey;
+ b->tunique_est = (double) (1 + b->tkey);
} else if (!ATOMlinear(b->ttype)) {
b->tsorted = false;
b->trevsorted = false;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]