From ddcbf51260173055386cb3295eea9b427d111b70 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 13 Mar 2020 16:11:38 -0400 Subject: [PATCH] CMapUniverse: Resolve sign conversion warning in Draw() Resolves a trivial implicit sign conversion warning. --- Runtime/AutoMapper/CMapUniverse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/AutoMapper/CMapUniverse.cpp b/Runtime/AutoMapper/CMapUniverse.cpp index dc2de9cdf..d0f213da6 100644 --- a/Runtime/AutoMapper/CMapUniverse.cpp +++ b/Runtime/AutoMapper/CMapUniverse.cpp @@ -57,7 +57,7 @@ void CMapUniverse::Draw(const CMapUniverseDrawParms& parms, const zeus::CVector3 if (!mwInfo.IsAnythingSet()) continue; zeus::CColor surfColor, outlineColor; - if (w == parms.GetFocusWorldIndex()) { + if (s32(w) == parms.GetFocusWorldIndex()) { surfColor = data.GetSurfaceColorSelected(); surfColor.a() *= parms.GetAlpha(); outlineColor = data.GetOutlineColorSelected();