Skip to content

Commit

Permalink
Use correct format specifier
Browse files Browse the repository at this point in the history
std::streamoff is signed on target platform.
  • Loading branch information
Mauler125 committed Dec 23, 2024
1 parent 1908a40 commit ea5a342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logic/pakfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ static bool Pak_StreamToStreamEncode(BinaryIO& inStream, BinaryIO& outStream, co

if (ZSTD_isError(remaining))
{
Warning("Failed to compress frame at %zu to frame at %zu: [%s].\n",
Warning("Failed to compress frame at %zd to frame at %zd: [%s].\n",
inStream.TellGet(), outStream.TellPut(), ZSTD_getErrorName(remaining));

ZSTD_freeCCtx(cctx);
Expand Down

0 comments on commit ea5a342

Please sign in to comment.