$OpenBSD: patch-mapi4linux_src_mapix_cpp,v 1.2 2009/04/28 10:59:51 ajacoutot Exp $
--- mapi4linux/src/mapix.cpp.orig	Wed Apr 22 16:41:27 2009
+++ mapi4linux/src/mapix.cpp	Tue Apr 28 12:31:23 2009
@@ -1629,7 +1629,7 @@ HRESULT M4LAddrBook::ResolveName(ULONG ulUIParam, ULON
 			std::string strAddress;
 
 			int pos = strDisplay.find(':');
-			if(pos != std::string::npos) {
+			if(pos != (int)std::string::npos) {
 				strType = strDisplay.substr(1, pos-1); // Everything up to ':'
 				strAddress = strDisplay.substr(pos+1, strDisplay.length() - pos -2); // Everything after ':'
 
