Changeset 73105 in vbox for trunk/src/VBox/Runtime/common/string
- Timestamp:
- Jul 13, 2018 12:01:41 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/strcache.cpp
r73102 r73105 684 684 pBigEntry->Core.cchString = RTSTRCACHEENTRY_BIG_LEN; 685 685 /* The following is to try avoid gcc warnings/errors regarding array bounds: */ 686 char *pszDst = pBigEntry->Core.szString; 687 memcpy(pszDst, pchString, cchString); 686 char *pszDst = (char *)memcpy(pBigEntry->Core.szString, pchString, cchString); 688 687 pszDst[cchString] = '\0'; 689 688 ASMCompilerBarrier();
Note:
See TracChangeset
for help on using the changeset viewer.