$OpenBSD: patch-provider_client_ECNotifyMaster_cpp,v 1.7 2015/11/02 11:06:34 robert Exp $
--- provider/client/ECNotifyMaster.cpp.orig	Wed Aug  5 17:30:48 2015
+++ provider/client/ECNotifyMaster.cpp	Thu Aug 20 12:36:50 2015
@@ -388,7 +388,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;
