Commit e1452426 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

comctl32: Fix the signedness of i, oldNumParts and nTipCount in STATUSBAR_SetParts.

parent e7c1d5d1
...@@ -668,7 +668,7 @@ static BOOL ...@@ -668,7 +668,7 @@ static BOOL
STATUSBAR_SetParts (STATUS_INFO *infoPtr, INT count, LPINT parts) STATUSBAR_SetParts (STATUS_INFO *infoPtr, INT count, LPINT parts)
{ {
STATUSWINDOWPART *tmp; STATUSWINDOWPART *tmp;
int i, oldNumParts; UINT i, oldNumParts;
TRACE("(%d,%p)\n", count, parts); TRACE("(%d,%p)\n", count, parts);
...@@ -700,7 +700,7 @@ STATUSBAR_SetParts (STATUS_INFO *infoPtr, INT count, LPINT parts) ...@@ -700,7 +700,7 @@ STATUSBAR_SetParts (STATUS_INFO *infoPtr, INT count, LPINT parts)
infoPtr->parts[i].x = parts[i]; infoPtr->parts[i].x = parts[i];
if (infoPtr->hwndToolTip) { if (infoPtr->hwndToolTip) {
INT nTipCount, i; UINT nTipCount;
TTTOOLINFOW ti; TTTOOLINFOW ti;
ZeroMemory (&ti, sizeof(TTTOOLINFOW)); ZeroMemory (&ti, sizeof(TTTOOLINFOW));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment