$OpenBSD: patch-provider_client_ECNotifyMaster_cpp,v 1.5 2010/06/30 02:46:48 ajacoutot Exp $
--- provider/client/ECNotifyMaster.cpp.orig	Mon May 31 19:28:58 2010
+++ provider/client/ECNotifyMaster.cpp	Mon Jun 14 09:16:44 2010
@@ -392,7 +392,7 @@ void* ECNotifyMaster::NotifyWatch(void *pTmpNotifyMast
 		notificationArray *pNotifyArray = NULL;
 
 		hr = pNotifyMaster->m_lpTransport->HrGetNotify(&pNotifyArray);
-		if (hr == ZARAFA_W_CALL_KEEPALIVE) {
+		if (hr == (int)ZARAFA_W_CALL_KEEPALIVE) {
 			if (bReconnect) {
 				TRACE_NOTIFY(TRACE_WARNING, "NotifyWatch::Reconnection", "OK connection: %d", pNotifyMaster->m_ulConnection);
 				bReconnect = false;
