VirtualBox

Ignore:
Timestamp:
Nov 27, 2023 3:19:39 PM (15 months ago)
Author:
vboxsync
Message:

libs/xpcom: Remove usage of nsCppSharedAllocator which is onlyused in nsCRT and can be safely replaced with RTMem*, bugref:10545 [fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/ds/nsCRT.cpp

    r102325 r102326  
    249249PRUnichar* nsCRT::strndup(const PRUnichar* str, PRUint32 len)
    250250{
    251         PRUnichar* rslt = RTMemAlloc(sizeof(PRUnichar) * (len + 1)); // add one for the null
     251        PRUnichar* rslt = (PRUnichar *)RTMemAlloc(sizeof(PRUnichar) * (len + 1)); // add one for the null
    252252
    253253  if (rslt == NULL) return NULL;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette