$OpenBSD: patch-provider_client_ECNotifyMaster_cpp,v 1.3 2009/10/20 22:34:26 ajacoutot Exp $
--- provider/client/ECNotifyMaster.cpp.orig	Fri Oct  9 22:34:38 2009
+++ provider/client/ECNotifyMaster.cpp	Tue Oct 20 23:41:37 2009
@@ -369,7 +369,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;
