Changeset: b56e4117ac16 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/b56e4117ac16
Modified Files:
        gdk/gdk.h
Branch: default
Log Message:

Use const.


diffs (16 lines):

diff --git a/gdk/gdk.h b/gdk/gdk.h
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -2017,10 +2017,10 @@ Tpos(BATiter *bi, BUN p)
 
 __attribute__((__pure__))
 static inline bool
-Tmskval(BATiter *bi, BUN p)
+Tmskval(const BATiter *bi, BUN p)
 {
        assert(ATOMstorage(bi->type) == TYPE_msk);
-       return ((uint32_t *) bi->base)[p / 32] & (1U << (p % 32));
+       return ((const uint32_t *) bi->base)[p / 32] & (1U << (p % 32));
 }
 
 static inline void *
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to