VirtualBox

Ignore:
Timestamp:
Nov 27, 2023 6:48:07 PM (12 months ago)
Author:
vboxsync
Message:

libs/xpcom: Replace remaining APIs from prprf.h with IPRT equivalents, bugref:10545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/components/nsComponentManager.cpp

    r102197 r102345  
    148148static void GetIDString(const nsID& aCID, char buf[UID_STRING_LENGTH])
    149149{
    150     PR_snprintf(buf, UID_STRING_LENGTH, gIDFormat,
    151                 aCID.m0, (PRUint32) aCID.m1, (PRUint32) aCID.m2,
    152                 (PRUint32) aCID.m3[0], (PRUint32) aCID.m3[1],
    153                 (PRUint32) aCID.m3[2], (PRUint32) aCID.m3[3],
    154                 (PRUint32) aCID.m3[4], (PRUint32) aCID.m3[5],
    155                 (PRUint32) aCID.m3[6], (PRUint32) aCID.m3[7]);
     150    RTStrPrintf2(buf, UID_STRING_LENGTH, gIDFormat,
     151                 aCID.m0, (PRUint32) aCID.m1, (PRUint32) aCID.m2,
     152                 (PRUint32) aCID.m3[0], (PRUint32) aCID.m3[1],
     153                 (PRUint32) aCID.m3[2], (PRUint32) aCID.m3[3],
     154                 (PRUint32) aCID.m3[4], (PRUint32) aCID.m3[5],
     155                 (PRUint32) aCID.m3[6], (PRUint32) aCID.m3[7]);
    156156}
    157157
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