From e145242671f577748521410f37a87fc198f977f1 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Fri, 22 Feb 2008 19:17:24 +0000 Subject: [PATCH] comctl32: Fix the signedness of i, oldNumParts and nTipCount in STATUSBAR_SetParts. --- dlls/comctl32/status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c index 2551e0a4cb9..e704635d043 100644 --- a/dlls/comctl32/status.c +++ b/dlls/comctl32/status.c @@ -668,7 +668,7 @@ static BOOL STATUSBAR_SetParts (STATUS_INFO *infoPtr, INT count, LPINT parts) { STATUSWINDOWPART *tmp; - int i, oldNumParts; + UINT i, oldNumParts; TRACE("(%d,%p)\n", count, parts); @@ -700,7 +700,7 @@ STATUSBAR_SetParts (STATUS_INFO *infoPtr, INT count, LPINT parts) infoPtr->parts[i].x = parts[i]; if (infoPtr->hwndToolTip) { - INT nTipCount, i; + UINT nTipCount; TTTOOLINFOW ti; ZeroMemory (&ti, sizeof(TTTOOLINFOW));