Changeset: 13038bd0a411 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/13038bd0a411 Modified Files: sql/storage/bat/bat_storage.c Branch: Jul2021 Log Message:
Add some casts.
diffs (21 lines):
diff --git a/sql/storage/bat/bat_storage.c b/sql/storage/bat/bat_storage.c
--- a/sql/storage/bat/bat_storage.c
+++ b/sql/storage/bat/bat_storage.c
@@ -1121,7 +1121,7 @@ cs_update_bat( sql_trans *tr, column_sto
else {
BATsetcount(ins, ucnt); /* all full updates */
msk =
(int*)Tloc(ins, 0);
- int end =
(ucnt+31)/32;
+ int end = (int)
((ucnt+31)/32);
for (int i=0;
i<end; i++)
msk[i]
= 0;
}
@@ -1165,7 +1165,7 @@ cs_update_bat( sql_trans *tr, column_sto
} else {
BATsetcount(ins, ucnt); /* all full updates */
msk =
(int*)Tloc(ins, 0);
- int end =
(ucnt+31)/32;
+ int end = (int)
((ucnt+31)/32);
for (int i=0;
i<end; i++)
msk[i]
= 0;
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list
