Changeset 102326 in vbox for trunk/src/libs/xpcom18a4/xpcom/ds/nsCRT.cpp
- Timestamp:
- Nov 27, 2023 3:19:39 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/ds/nsCRT.cpp
r102325 r102326 249 249 PRUnichar* nsCRT::strndup(const PRUnichar* str, PRUint32 len) 250 250 { 251 PRUnichar* rslt = RTMemAlloc(sizeof(PRUnichar) * (len + 1)); // add one for the null251 PRUnichar* rslt = (PRUnichar *)RTMemAlloc(sizeof(PRUnichar) * (len + 1)); // add one for the null 252 252 253 253 if (rslt == NULL) return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.