Changeset: 7d469723b217 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/7d469723b217
Modified Files:
        gdk/gdk_logger.c
Branch: pax-log
Log Message:

Fix compilations error on Windows.


diffs (19 lines):

diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -423,12 +423,12 @@ log_read_updates(logger *lg, trans *tr, 
                                if (BATcount(*cands) == 0 || lg->flushing) {
                                        // when flushing, we only need the 
offset and count of the last segment of inserts.
                                        assert((*cands)->ttype == TYPE_void);
-                                       BATtseqbase(*cands, offset);
-                                       BATsetcount(*cands, nr);
+                                       BATtseqbase(*cands, (oid) offset);
+                                       BATsetcount(*cands, (BUN) nr);
                                }
                                else if (!lg->flushing) {
                                        assert(BATcount(*cands) > 0);
-                                       BAT* dense = BATdense(0,offset, nr);
+                                       BAT* dense = BATdense(0, (oid) offset, 
(BUN) nr);
                                        BAT* newcands = NULL;
                                        if (!dense ) {
                                                res = LOG_ERR;
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to