Page MenuHomeFreeBSD

D22682.id65238.diff
No OneTemporary

D22682.id65238.diff

Index: sys/sys/bitstring.h
===================================================================
--- sys/sys/bitstring.h
+++ sys/sys/bitstring.h
@@ -306,7 +306,7 @@
while ((_test & (_test + 1)) != 0 && _b-- > 0)
_test |= _test >> (((_size - 1) >> _b) + 1) / 2;
/* Find the start of the first 0-area in _test. */
- _offset = (~_test == 0) ? _BITSTR_BITS :
+ _offset = (~_test == 0) ? (int)_BITSTR_BITS :
ffsl(~_test) - 1;
_value = (_curbitstr - _bitstr) * _BITSTR_BITS +
_offset;
@@ -353,7 +353,7 @@
while ((_test & (_test + 1)) != 0 && _b-- > 0)
_test |= _test >> (((_size - 1) >> _b) + 1) / 2;
/* Find the start of the first 0-area in _test. */
- _offset = (~_test == 0) ? _BITSTR_BITS :
+ _offset = (~_test == 0) ? (int)_BITSTR_BITS :
ffsl(~_test) - 1;
_value = (_curbitstr - _bitstr) * _BITSTR_BITS +
_offset;

File Metadata

Mime Type
text/plain
Expires
Fri, May 15, 2:07 PM (14 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33085763
Default Alt Text
D22682.id65238.diff (885 B)

Event Timeline