Index: /trunk/include/iprt/asm.h
===================================================================
--- /trunk/include/iprt/asm.h	(revision 40930)
+++ /trunk/include/iprt/asm.h	(revision 40931)
@@ -3364,5 +3364,5 @@
         if (RT_UNLIKELY(*pu32 != u32))
             return (uint32_t *)pu32;
-    return NULL;
+    return (uint32_t *)NULL;
 }
 
Index: /trunk/include/iprt/string.h
===================================================================
--- /trunk/include/iprt/string.h	(revision 40930)
+++ /trunk/include/iprt/string.h	(revision 40931)
@@ -1419,5 +1419,5 @@
 DECLINLINE(char *) RTLatin1PutCp(char *psz, RTUNICP CodePoint)
 {
-    AssertReturn(CodePoint < 0x100, NULL);
+    AssertReturn(CodePoint < 0x100, (char *)NULL);
     *psz++ = (unsigned char)CodePoint;
     return psz;
