X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FINet%2FINet6Address.ct;h=d7121a337201d18c5c92c972bb2c286a7c7fe780;hb=5bd0f0d58ba30d95a02b46fc9122a7e981bcbcad;hp=adcbacabe946ffdc506ad116f29750b22935b696;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Socket/Protocols/INet/INet6Address.ct b/senf/Socket/Protocols/INet/INet6Address.ct index adcbaca..d7121a3 100644 --- a/senf/Socket/Protocols/INet/INet6Address.ct +++ b/senf/Socket/Protocols/INet/INet6Address.ct @@ -68,9 +68,9 @@ prefix_ ForwardIterator1 senf::detail::find_if_mask(unsigned bits, ForwardIterat if (fn(*b1, *b2, boost::lambda::make_const(0xFFu))) return b1; if (bits > 0 && b1 != e1) - if (fn( *(b1++), *(b2++), boost::lambda::make_const(~ low_bits_mask(8-bits)))) + if (fn(*b1, *b2, boost::lambda::make_const(~ low_bits_mask(8-bits)))) return b1; - for(; b1 != e1; ++b1, ++b2) + for(++b1, ++b2; b1 != e1; ++b1, ++b2) if (fn(*b1, *b2, boost::lambda::make_const(0u))) return b1; return e1;