From eead359a85c535af2a2ec8764b692fea45965cd1 Mon Sep 17 00:00:00 2001 From: Andrea Date: Sun, 18 Jun 2023 20:21:29 +0100 Subject: [PATCH] Fix warning about wrong printf modifier for size_t. (PR #1241) --- source/Debugger/Debug.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Debugger/Debug.cpp b/source/Debugger/Debug.cpp index 15b7c843..4272aad9 100644 --- a/source/Debugger/Debug.cpp +++ b/source/Debugger/Debug.cpp @@ -5100,8 +5100,8 @@ Update_t CmdNTSC (int nArgs) ConsoleBufferPush( pPrefixText ); // TODO: Add a ": " separator #if _DEBUG - LogOutput( "Filename.length.1: %d\n", len1 ); - LogOutput( "Filename.length.2: %d\n", len2 ); + LogOutput( "Filename.length.1: %" SIZE_T_FMT "\n", len1 ); + LogOutput( "Filename.length.2: %" SIZE_T_FMT "\n", len2 ); OutputDebugString( sPaletteFilePath.c_str() ); #endif // File path is too long