$OpenBSD: patch-m4lcommon_include_zarafa_mapi_ptr_mapi_memory_ptr_h,v 1.2 2016/04/20 18:38:41 robert Exp $
--- m4lcommon/include/zarafa/mapi_ptr/mapi_memory_ptr.h.orig	Wed Apr 20 13:13:54 2016
+++ m4lcommon/include/zarafa/mapi_ptr/mapi_memory_ptr.h	Wed Apr 20 19:54:13 2016
@@ -125,11 +125,11 @@ class mapi_memory_ptr _zcp_final { (public)
 		return proxy(&m_lpMemory);
 	}
 
-	template <typename _U>
-	_U as() { return (_U)m_lpMemory; }
+	template <typename _ZCPU>
+	_ZCPU as() { return (_ZCPU)m_lpMemory; }
 
-	template <typename _U>
-	const _U as() const { return (_U)m_lpMemory; }
+	template <typename _ZCPU>
+	const _ZCPU as() const { return (_ZCPU)m_lpMemory; }
 
 	operator void**() {
 		MAPIFreeBuffer(m_lpMemory);
