From 5aa03c12add871996aaa865adf32554e4174ed06 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 12 Jul 2021 20:15:12 +0200 Subject: [PATCH] exr: Override the actual function signature For gcc there's a typedef that makes it work, but seems clang in macos is not so lucky BUGS: 439767 --- src/imageformats/exr.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/imageformats/exr.cpp b/src/imageformats/exr.cpp index 092d592..b95e8ad 100644 --- a/src/imageformats/exr.cpp +++ b/src/imageformats/exr.cpp @@ -44,8 +44,8 @@ public: } bool read(char c[], int n) override; - Imf::Int64 tellg() override; - void seekg(Imf::Int64 pos) override; + uint64_t tellg() override; + void seekg(uint64_t pos) override; void clear() override; private: @@ -65,12 +65,12 @@ bool K_IStream::read(char c[], int n) return false; } -Imf::Int64 K_IStream::tellg() +uint64_t K_IStream::tellg() { return m_dev->pos(); } -void K_IStream::seekg(Imf::Int64 pos) +void K_IStream::seekg(uint64_t pos) { m_dev->seek(pos); }