We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71d57fd commit eda82e0Copy full SHA for eda82e0
src/convert.cpp
@@ -1265,7 +1265,7 @@ std::string Converter::computeExifDigest(bool tiff) {
1265
continue;
1266
DataBuf data(pos->size());
1267
pos->copy(data.data(), littleEndian /* FIXME ? */);
1268
- MD5Update(&context, data.c_data(), static_cast<uint32_t>(data.size()));
+ MD5Update(&context, const_cast<XMP_Uns8*>(data.c_data()), static_cast<uint32_t>(data.size()));
1269
}
1270
1271
MD5Final(digest, &context);
0 commit comments