mstask: Sign-compare warnings fix.

This commit is contained in:
Andrew Talbot 2008-08-29 16:31:50 +01:00 committed by Alexandre Julliard
parent 380d3b2494
commit 52c6c3fca8
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ static HRESULT init_register_strtable(STRTABLEA *strtable)
}; };
#undef CLSID_EXPANSION_ENTRY #undef CLSID_EXPANSION_ENTRY
static STRENTRYA pse[sizeof expns / sizeof expns[0]]; static STRENTRYA pse[sizeof expns / sizeof expns[0]];
int i; unsigned int i;
strtable->cEntries = sizeof pse / sizeof pse[0]; strtable->cEntries = sizeof pse / sizeof pse[0];
strtable->pse = pse; strtable->pse = pse;
@ -114,7 +114,7 @@ static HRESULT init_register_strtable(STRTABLEA *strtable)
static void cleanup_register_strtable(STRTABLEA *strtable) static void cleanup_register_strtable(STRTABLEA *strtable)
{ {
int i; unsigned int i;
for (i = 0; i < strtable->cEntries; i++) for (i = 0; i < strtable->cEntries; i++)
{ {
HeapFree(GetProcessHeap(), 0, strtable->pse[i].pszName); HeapFree(GetProcessHeap(), 0, strtable->pse[i].pszName);