$OpenBSD: patch-m4lcommon_mapi_ptr_mapi_memory_ptr_h,v 1.1 2015/11/02 11:06:34 robert Exp $
--- m4lcommon/mapi_ptr/mapi_memory_ptr.h.orig	Thu Aug 20 12:49:50 2015
+++ m4lcommon/mapi_ptr/mapi_memory_ptr.h	Thu Aug 20 12:49:56 2015
@@ -158,11 +158,11 @@ class mapi_memory_ptr _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**() {
 		if (m_lpMemory) {
