Commit 201cbd3e authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

qmgr: Sign-compare warnings fix.

parent a4dc5ba3
...@@ -76,7 +76,7 @@ static HRESULT init_register_strtable(STRTABLEA *strtable) ...@@ -76,7 +76,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; DWORD i;
strtable->cEntries = sizeof pse / sizeof pse[0]; strtable->cEntries = sizeof pse / sizeof pse[0];
strtable->pse = pse; strtable->pse = pse;
...@@ -98,7 +98,7 @@ static HRESULT init_register_strtable(STRTABLEA *strtable) ...@@ -98,7 +98,7 @@ static HRESULT init_register_strtable(STRTABLEA *strtable)
static void cleanup_register_strtable(STRTABLEA *strtable) static void cleanup_register_strtable(STRTABLEA *strtable)
{ {
int i; DWORD 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);
HeapFree(GetProcessHeap(), 0, strtable->pse[i].pszValue); HeapFree(GetProcessHeap(), 0, strtable->pse[i].pszValue);
......
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