From 4a777ff9db9a8f58d25845ce0b2b674bca8bd597 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 25 May 2024 23:41:50 -0400 Subject: [PATCH] Fix narrowing conversion introduced in mdlimport --- parts/mdl/mdlimport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/mdl/mdlimport.cpp b/parts/mdl/mdlimport.cpp index 4e3a058..9bf6e9b 100644 --- a/parts/mdl/mdlimport.cpp +++ b/parts/mdl/mdlimport.cpp @@ -41,12 +41,12 @@ void importModel(physis_MDL &existingModel, const QString &filename) std::vector processingParts; struct ShapeSubmesh { - int affected_submesh = 0; + uint32_t affected_submesh = 0; std::vector values; }; struct ShapeMesh { - int affected_part = 0; + uint32_t affected_part = 0; std::vector submeshes; };