]> git.vpit.fr Git - perl/modules/Scalar-Vec-Util.git/blobdiff - bitvect.h
Update VPIT::TestHelpers to 15e8aee3
[perl/modules/Scalar-Vec-Util.git] / bitvect.h
index 51a7d7893aea84f8bcbc42f58b5074749d3b3861..207279f39afcf375074af5010042e37506be8f75 100644 (file)
--- a/bitvect.h
+++ b/bitvect.h
@@ -5,7 +5,7 @@
 
 /* ... Generic macros ...................................................... */
 
-#define INLINE_DECLARE(P) STATIC P
+#define INLINE_DECLARE(P) static P
 #define INLINE_DEFINE
 
 #ifndef BV_UNIT
@@ -339,7 +339,8 @@ INLINE_DECLARE(int bv_zero(const void *bv_, size_t s, size_t l))
 #ifdef INLINE_DEFINE
 {
  size_t o;
- T mask, *bv = (T *) bv_, *end;
+ T mask;
+ const T *bv = (const T *) bv_, *end;
 
  bv += s / BITS(T);
  o   = s % BITS(T);