$OpenBSD: patch-caldav_MAPIFacade_cpp,v 1.1.1.1 2009/02/16 09:44:38 ajacoutot Exp $
--- caldav/MAPIFacade.cpp.orig	Fri Jan  9 16:32:36 2009
+++ caldav/MAPIFacade.cpp	Fri Jan  9 16:33:10 2009
@@ -218,7 +218,7 @@ HRESULT MAPIFacade::OpenFolder(HTTPRequest *lpRequest)
 		//			We haven't opened the folder itself yet, so we need to find the folder in the hierarchy table.
 		// Any subfolders are retrieved by searching the hierarchy table of the parent folder.
 		if (ulCountFNList == 2) {
-			for (int ulCountPropTag = 0; ulCountPropTag < sizeof(ulPropTagArray)/sizeof(ULONG); ulCountPropTag++) {
+			for (unsigned int ulCountPropTag = 0; ulCountPropTag < sizeof(ulPropTagArray)/sizeof(ULONG); ulCountPropTag++) {
 				hr = GetEntryID(ulPropTagArray[ulCountPropTag], (*iterFNList), &cbEntryID, &lpEntryID);
 				if (hr == hrSuccess) {
 					ulSucceededEntryID = ulPropTagArray[ulCountPropTag];
