diff --git a/plugins/metadata/common/KisExiv2IODevice.cpp b/plugins/metadata/common/KisExiv2IODevice.cpp index bf5cdc2..99cb8b0 100644 --- a/plugins/metadata/common/KisExiv2IODevice.cpp +++ b/plugins/metadata/common/KisExiv2IODevice.cpp @@ -178,7 +178,7 @@ void KisExiv2IODevice::transfer(Exiv2::BasicIo &src) #if defined(_MSC_VER) int KisExiv2IODevice::seek(int64_t offset, Exiv2::BasicIo::Position position) #else -int KisExiv2IODevice::seek(long offset, Exiv2::BasicIo::Position position) +int KisExiv2IODevice::seek(int64_t offset, Exiv2::BasicIo::Position position) #endif { qint64 pos = 0; diff --git a/plugins/metadata/common/KisExiv2IODevice.h b/plugins/metadata/common/KisExiv2IODevice.h index 27f5f8d..0f8f565 100644 --- a/plugins/metadata/common/KisExiv2IODevice.h +++ b/plugins/metadata/common/KisExiv2IODevice.h @@ -47,7 +47,7 @@ public: #if defined(_MSC_VER) int seek(int64_t offset, Position pos) override; #else - int seek(long offset, Position pos) override; + int seek(int64_t offset, Position pos) override; #endif Exiv2::byte *mmap(bool isWriteable = false) override;