From 2e6cd01cd48b8be24879bc1df48305b8c6f4625f Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Sun, 20 Nov 2022 11:47:21 -0800 Subject: [PATCH] Fix C4777 warning --- Texassemble/texassemble.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Texassemble/texassemble.cpp b/Texassemble/texassemble.cpp index ccd91f5..6b543e9 100644 --- a/Texassemble/texassemble.cpp +++ b/Texassemble/texassemble.cpp @@ -2328,7 +2328,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[]) if (((width % ratio_w) != 0) || ((height % ratio_h) != 0)) { - wprintf(L"\nWARNING: %ls expects %d:%d aspect ratio\n", g_pCommands[dwCommand - 1].name, ratio_w, ratio_h); + wprintf(L"\nWARNING: %ls expects %zu:%zu aspect ratio\n", g_pCommands[dwCommand - 1].name, ratio_w, ratio_h); } if (twidth > maxCube || theight > maxCube) @@ -2363,7 +2363,6 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[]) offsetx = s_offsetx[index] * twidth; offsety = s_offsety[index] * theight; - break; } @@ -2379,7 +2378,6 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[]) offsetx = s_offsetx[index] * twidth; offsety = s_offsety[index] * theight; - break; }