From e6416bd94ed9ea4b8e029c2b9e31da903349b2c9 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Mon, 28 Mar 2022 00:34:03 +0300
Subject: [PATCH 28/66] fileexr forward port (openexr 3)

---
 cinelerra-5.1/cinelerra/fileexr.C | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/cinelerra-5.1/cinelerra/fileexr.C b/cinelerra-5.1/cinelerra/fileexr.C
index 9c782a11..fbc39862 100644
--- a/cinelerra-5.1/cinelerra/fileexr.C
+++ b/cinelerra-5.1/cinelerra/fileexr.C
@@ -50,8 +50,8 @@ public:
 	~EXRIStream();
 
 	bool read (char c[], int n);
-	Imf::Int64 tellg ();
-	void seekg (Imf::Int64 pos);
+	uint64_t tellg ();
+	void seekg (uint64_t pos);
 	void clear ();
 
 private:
@@ -67,8 +67,8 @@ public:
 	~EXROStream();
 
     virtual void write(const char c[], int n);
-    virtual Imf::Int64 tellp();
-    virtual void seekp(Imf::Int64 pos);
+    virtual uint64_t tellp();
+    virtual void seekp(uint64_t pos);
 
 private:
 	VFrame *data;
@@ -106,12 +106,12 @@ bool EXRIStream::read(char c[], int n)
 	return position >= size;
 }
 
-Imf::Int64 EXRIStream::tellg ()
+uint64_t EXRIStream::tellg ()
 {
 	return position;
 }
 
-void EXRIStream::seekg(Imf::Int64 pos)
+void EXRIStream::seekg(uint64_t pos)
 {
 	position = pos;
 }
@@ -141,12 +141,12 @@ void EXROStream::write(const char c[], int n)
 	data->set_compressed_size(MAX(position, data->get_compressed_size()));
 }
 
-Imf::Int64 EXROStream::tellp()
+uint64_t EXROStream::tellp()
 {
 	return position;
 }
 
-void EXROStream::seekp(Imf::Int64 pos)
+void EXROStream::seekp(uint64_t pos)
 {
 	position = pos;
 }
-- 
2.35.1

