fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / boost / boost.crc.Wshadow.warnings.patch
blobe83615a88d7111bf331f80c29c2958d813560162
1 --- misc/boost_1_44_0/boost/boost/crc.hpp
2 +++ misc/build/boost_1_44_0/boost/boost/crc.hpp
3 @@ -755,15 +755,15 @@ void
4 crc_basic<Bits>::process_bits
6 unsigned char bits,
7 - std::size_t bit_count
8 + std::size_t bit_count_
11 // ignore the bits above the ones we want
12 - bits <<= CHAR_BIT - bit_count;
13 + bits <<= CHAR_BIT - bit_count_;
15 // compute the CRC for each bit, starting with the upper ones
16 unsigned char const high_bit_mask = 1u << ( CHAR_BIT - 1u );
17 - for ( std::size_t i = bit_count ; i > 0u ; --i, bits <<= 1u )
18 + for ( std::size_t i = bit_count_ ; i > 0u ; --i, bits <<= 1u )
20 process_bit( static_cast<bool>(bits & high_bit_mask) );