comctl32: Fix the signedness of i, oldNumParts and nTipCount in STATUSBAR_SetParts.
This commit is contained in:
parent
e7c1d5d173
commit
e145242671
|
@ -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)
|
||||||
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));
|
||||||
|
|
Loading…
Reference in New Issue