Index: trunk/psLib/src/sys/psAssert.h
===================================================================
--- trunk/psLib/src/sys/psAssert.h	(revision 11248)
+++ trunk/psLib/src/sys/psAssert.h	(revision 11265)
@@ -19,5 +19,5 @@
     psMemBlock *mb = (psMemBlock*)(NAME) - 1; \
     if (mb->startblock != P_PS_MEMMAGIC || mb->endblock != P_PS_MEMMAGIC || \
-            *(psPtr *)((int8_t *) (mb + 1) + mb->userMemorySize) != P_PS_MEMMAGIC) { \
+            *(psU32 *)((char *)(mb + 1) + mb->userMemorySize) != P_PS_MEMMAGIC) { \
         psError(PS_ERR_MEMORY_CORRUPTION, false, \
                 "Error: Pointer %s is corrupted or not on the PS memory system.", \
