From 7cc0ea7c8e3bf69eeefbc2f3ed98850e7810af21 Mon Sep 17 00:00:00 2001 From: JackMacWindows Date: Sat, 22 Jun 2024 03:21:33 -0400 Subject: [PATCH] Update sanjuuni.cpp --- src/sanjuuni.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sanjuuni.cpp b/src/sanjuuni.cpp index 18d9887..93f8866 100644 --- a/src/sanjuuni.cpp +++ b/src/sanjuuni.cpp @@ -1338,7 +1338,7 @@ int main(int argc, const char * argv[]) { outstream.write(vdata.c_str(), vdata.size()); vid32stream = std::stringstream(); Vid32Chunk chunk; - chunk.size = outstream.tellp() - 21; + chunk.size = (size_t)outstream.tellp() - 21; chunk.nframes = nframe_vid32; chunk.type = (uint8_t)Vid32Chunk::Type::Combined; outstream.seekp(12, std::ios::beg);