additional improvements for freebsd mostly
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / fileexr.C
index 9c782a112f8340e8f62023c4398ead416be07c35..fbc3986221a3658700feebe4fd8c61c1000718e2 100644 (file)
@@ -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;
 }