Kernel/VTerm - Added stub support for an escape code vim uses
[tpg/acess2.git] / KernelLand / Kernel / include / acess.h
index b846a51..bcd5f5e 100644 (file)
@@ -219,7 +219,7 @@ extern Uint MM_GetFlags(tVAddr VAddr);
  * \param VAddr        Base address to check
  * \return 1 if the memory is all user-accessable, 0 otherwise
  */
-#define MM_IsUser(VAddr)       (!(MM_GetFlags((VAddr))&MM_PFLAG_KERNEL))
+#define MM_IsUser(VAddr)       (!(MM_GetFlags((tVAddr)(VAddr))&MM_PFLAG_KERNEL))
 /**
  * \brief Temporarily map a page into the address space
  * \param PAddr        Physical addres to map

UCC git Repository :: git.ucc.asn.au