--- Represent/Binary.cpp 2004/12/22 07:53:49 372 +++ Represent/Binary.cpp 2005/03/10 03:08:17 422 @@ -21,7 +21,7 @@ Binary::Binary(const ext::String& string size_t index(string.GetSize() % 8), offset(index); - _rmforeach (ext::Vector, byte, bytes) _rfor (byte_t, bit, 0, 8) *byte |= (string[index++] == '1') << bit; + _rforeach (ext::Vector, byte, bytes) _rfor (byte_t, bit, 0, 8) *byte |= (string[index++] == '1') << bit; if (offset != 0) { @@ -39,7 +39,7 @@ Binary::operator ext::String() const { ext::String string; - _rforeach (ext::Vector, byte, bytes) _rfor (byte_t, bit, 0, 8) string.InsertLast(1 & *byte >> bit ? '1' : '0'); + _rforeach (const ext::Vector, byte, bytes) _rfor (byte_t, bit, 0, 8) string.InsertLast(1 & *byte >> bit ? '1' : '0'); return string; }