Index: /trunk/src/VBox/Runtime/common/string/strcache.cpp
===================================================================
--- /trunk/src/VBox/Runtime/common/string/strcache.cpp	(revision 73104)
+++ /trunk/src/VBox/Runtime/common/string/strcache.cpp	(revision 73105)
@@ -684,6 +684,5 @@
     pBigEntry->Core.cchString   = RTSTRCACHEENTRY_BIG_LEN;
     /* The following is to try avoid gcc warnings/errors regarding array bounds: */
-    char *pszDst = pBigEntry->Core.szString;
-    memcpy(pszDst, pchString, cchString);
+    char *pszDst = (char *)memcpy(pBigEntry->Core.szString, pchString, cchString);
     pszDst[cchString] = '\0';
     ASMCompilerBarrier();
