Fix build failure.

This commit is contained in:
Kevin Backhouse
2021-08-29 17:13:15 +01:00
parent e41f0c2cce
commit 61a14c45d1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t * data, size_t size) {
try {
Exiv2::DataBuf data_copy(data, size);
Exiv2::Image::UniquePtr image =
Exiv2::ImageFactory::open(data_copy.pData_, size);
Exiv2::ImageFactory::open(data_copy.c_data(0), size);
assert(image.get() != 0);
image->readMetadata();