Changeset: eb1c3685d38a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=eb1c3685d38a
Modified Files:
        sql/backends/monet5/sql.c
Branch: default
Log Message:

Add some casts.


diffs (19 lines):

diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -1929,13 +1929,13 @@ mvc_append_exec_wrap(Client cntxt, MalBl
                if (BATcount(b) > 4096 && !b->batTransient)
                        BATmsync(b);
 
-               ret = store->storage_api.append_col_exec(cookie, pos, b, true);
+               ret = store->storage_api.append_col_exec(cookie, (size_t) pos, 
b, true);
                BBPunfix(b->batCacheid);
        } else {
                if (ATOMextern(incoming_type))
                        incoming = *(ptr*)incoming;
 
-               ret = store->storage_api.append_col_exec(cookie, pos, incoming, 
false);
+               ret = store->storage_api.append_col_exec(cookie, (size_t) pos, 
incoming, false);
        }
 
        if (ret != LOG_OK)
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to