From: Vincent Pit Date: Tue, 25 Aug 2009 23:06:09 +0000 (+0200) Subject: Silence a signedness conversion warning in bv_fill() X-Git-Tag: v0.07~33 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=228ef041cab8b2a0394a45029887c7eda2cc70ef;p=perl%2Fmodules%2FScalar-Vec-Util.git Silence a signedness conversion warning in bv_fill() --- diff --git a/bitvect.h b/bitvect.h index a62f472..b50c1a1 100644 --- a/bitvect.h +++ b/bitvect.h @@ -501,7 +501,7 @@ INLINE_DECLARE(void bv_fill(void *bv_, size_t s, size_t l, unsigned int f)) T mask, *bv = (T *) bv_; if (f) - f = ~0; + f = ~0u; bv += s / BITS(T); o = s % BITS(T);