Added cast to enable compilation with DevStudio VS2003 and VS2005.

v0.27.3
Robin Mills 14 years ago
parent 083a685b25
commit 25b4bf2ce9

@ -891,7 +891,7 @@ namespace {
bufferPos--;
}
for (int bufferPos = 2; bufferPos >= 0 && destPos < destSize; bufferPos--, destPos++) {
dest.pData_[destPos] = (buffer >> (bufferPos * 8)) & 0xFF;
dest.pData_[destPos] = (Exiv2::byte) (buffer >> (bufferPos * 8)) & 0xFF;
}
}
return dest;

Loading…
Cancel
Save