Added cast to enable compilation with DevStudio VS2003 and VS2005.

This commit is contained in:
Robin Mills 2011-06-30 05:57:39 +00:00
parent 083a685b25
commit 25b4bf2ce9

View File

@ -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;