Fix conversion issue detected by MSVC

v0.27.3
Luis Díaz Más 8 years ago
parent 2ed661068c
commit 1fe8d5ba7f

@ -244,7 +244,7 @@ namespace Exiv2
throw Error(57); throw Error(57);
} }
DataBuf buf(allocate); DataBuf buf(static_cast<long>(allocate));
const uint64_t offset = header_.format() == Header::StandardTiff? const uint64_t offset = header_.format() == Header::StandardTiff?
byteSwap4(data, 0, doSwap_): byteSwap4(data, 0, doSwap_):

Loading…
Cancel
Save