Changeset 102345 in vbox for trunk/src/libs/xpcom18a4/xpcom/ds/nsSupportsPrimitives.cpp
- Timestamp:
- Nov 27, 2023 6:48:07 PM (18 months ago)
- svn:sync-xref-src-repo-rev:
- 160481
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/ds/nsSupportsPrimitives.cpp
r1 r102345 36 36 * 37 37 * ***** END LICENSE BLOCK ***** */ 38 #include <iprt/string.h> 38 39 39 40 #include "nsSupportsPrimitives.h" 40 41 #include "nsCRT.h" 41 42 #include "nsMemory.h" 42 #include "prprf.h"43 43 #include "nsIInterfaceInfoManager.h" 44 44 #include "nsDependentString.h" … … 256 256 char buf[size]; 257 257 258 PR_snprintf(buf, size, "%u", (PRUint16) mData);258 RTStrPrintf2(buf, size, "%u", (PRUint16) mData); 259 259 260 260 char* result = (char*) nsMemory::Clone(buf, … … 301 301 char buf[size]; 302 302 303 PR_snprintf(buf, size, "%u", (int) mData);303 RTStrPrintf2(buf, size, "%u", (int) mData); 304 304 305 305 char* result = (char*) nsMemory::Clone(buf, … … 346 346 char buf[size]; 347 347 348 PR_snprintf(buf, size, "%lu", mData);348 RTStrPrintf2(buf, size, "%lu", mData); 349 349 350 350 char* result = (char*) nsMemory::Clone(buf, … … 391 391 char buf[size]; 392 392 393 PR_snprintf(buf, size, "%llu", mData);393 RTStrPrintf2(buf, size, "%llu", mData); 394 394 395 395 char* result = (char*) nsMemory::Clone(buf, … … 436 436 char buf[size]; 437 437 438 PR_snprintf(buf, size, "%llu", mData);438 RTStrPrintf2(buf, size, "%llu", mData); 439 439 440 440 char* result = (char*) nsMemory::Clone(buf, … … 526 526 char buf[size]; 527 527 528 PR_snprintf(buf, size, "%d", mData);528 RTStrPrintf2(buf, size, "%d", mData); 529 529 530 530 char* result = (char*) nsMemory::Clone(buf, … … 571 571 char buf[size]; 572 572 573 PR_snprintf(buf, size, "%ld", mData);573 RTStrPrintf2(buf, size, "%ld", mData); 574 574 575 575 char* result = (char*) nsMemory::Clone(buf, … … 616 616 char buf[size]; 617 617 618 PR_snprintf(buf, size, "%lld", mData);618 RTStrPrintf2(buf, size, "%lld", mData); 619 619 620 620 char* result = (char*) nsMemory::Clone(buf, … … 661 661 char buf[size]; 662 662 663 PR_snprintf(buf, size, "%f", (double) mData);663 RTStrPrintf2(buf, size, "%f", (double) mData); 664 664 665 665 char* result = (char*) nsMemory::Clone(buf, … … 706 706 char buf[size]; 707 707 708 PR_snprintf(buf, size, "%f", mData);708 RTStrPrintf2(buf, size, "%f", mData); 709 709 710 710 char* result = (char*) nsMemory::Clone(buf,
Note:
See TracChangeset
for help on using the changeset viewer.