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));