From 52c6c3fca8fe997f447b6e14e5677249878834fd Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Fri, 29 Aug 2008 16:31:50 +0100 Subject: [PATCH] mstask: Sign-compare warnings fix. --- dlls/mstask/mstask_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/mstask/mstask_main.c b/dlls/mstask/mstask_main.c index c7b3dea5a1b..df1f1d8c5e6 100644 --- a/dlls/mstask/mstask_main.c +++ b/dlls/mstask/mstask_main.c @@ -88,7 +88,7 @@ static HRESULT init_register_strtable(STRTABLEA *strtable) }; #undef CLSID_EXPANSION_ENTRY static STRENTRYA pse[sizeof expns / sizeof expns[0]]; - int i; + unsigned int i; strtable->cEntries = sizeof pse / sizeof pse[0]; strtable->pse = pse; @@ -114,7 +114,7 @@ static HRESULT init_register_strtable(STRTABLEA *strtable) static void cleanup_register_strtable(STRTABLEA *strtable) { - int i; + unsigned int i; for (i = 0; i < strtable->cEntries; i++) { HeapFree(GetProcessHeap(), 0, strtable->pse[i].pszName);