Use _fseeki64 on Windows when handling content files.
[dcpomatic.git] / src / lib / file_group.cc
index dfe336b8f87eae4a9a568251aa8c735316acb61f..80769545173308db30dbee8a91acc50dbecc272e 100644 (file)
@@ -125,7 +125,7 @@ FileGroup::seek (int64_t pos, int whence) const
        }
 
        ensure_open_path (i);
-       fseek (_current_file, sub_pos, SEEK_SET);
+       dcpomatic_fseek (_current_file, sub_pos, SEEK_SET);
        return full_pos;
 }