From 923388314c913738aabc8a8287df6d6803df9de0 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Sat, 26 Oct 2024 13:42:29 -0700 Subject: [PATCH] Code review --- Meshconvert/Meshconvert.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Meshconvert/Meshconvert.cpp b/Meshconvert/Meshconvert.cpp index a325435..46af66d 100644 --- a/Meshconvert/Meshconvert.cpp +++ b/Meshconvert/Meshconvert.cpp @@ -145,7 +145,7 @@ namespace { nullptr, 0 } }; - const SValue g_pOptionsLong[] = + const SValue g_pOptionsLong[] = { { L"clean", OPT_CLEAN }, { L"clockwise", OPT_CLOCKWISE }, @@ -333,7 +333,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[]) if (allowOpts && (('-' == pArg[0]) || ('/' == pArg[0]))) { - uint64_t dwOption = 0; + uint32_t dwOption = 0; PWSTR pValue = nullptr; if (('-' == pArg[0]) && ('-' == pArg[1]))