diff --git a/include/bw64/reader.hpp b/include/bw64/reader.hpp index ad110c2..dbde1ab 100644 --- a/include/bw64/reader.hpp +++ b/include/bw64/reader.hpp @@ -218,7 +218,7 @@ namespace bw64 { /** * @brief Seek a frame position in the DataChunk */ - void seek(int32_t offset, std::ios_base::seekdir way = std::ios::beg) { + void seek(int64_t offset, std::ios_base::seekdir way = std::ios::beg) { auto numberOfFramesInt = utils::safeCast(numberOfFrames()); // where to seek relative to according to way