Changeset: 4095c009d59d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4095c009d59d
Modified Files:
        gdk/gdk_bitvector.c
        gdk/gdk_bitvector.h
Branch: mosaic
Log Message:

Change the API of BitVectorSize


diffs (24 lines):

diff --git a/gdk/gdk_bitvector.c b/gdk/gdk_bitvector.c
--- a/gdk/gdk_bitvector.c
+++ b/gdk/gdk_bitvector.c
@@ -39,7 +39,7 @@ void initBitMasks(void)
        }
 }
 
-lng
+size_t
 getBitVectorSize(const BUN cnt, const int width)
 {
        lng size;
diff --git a/gdk/gdk_bitvector.h b/gdk/gdk_bitvector.h
--- a/gdk/gdk_bitvector.h
+++ b/gdk/gdk_bitvector.h
@@ -22,7 +22,7 @@
 typedef unsigned int *BitVector;
 
 gdk_export void initBitMasks(void);
-gdk_export lng getBitVectorSize(const BUN cnt, const int width);
+gdk_export size_t getBitVectorSize(const BUN cnt, const int width);
 gdk_export BitVector newBitVector(BUN cnt, int width);
 gdk_export void setBitVector(BitVector vector, const BUN i, const int bits, 
const unsigned int value);
 gdk_export void clrBitVector(BitVector vector, BUN i, int bits);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to