VirtualBox

Changeset 14061 in vbox


Ignore:
Timestamp:
Nov 10, 2008 11:12:54 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39117
Message:

IPRT: strformat-vbox.cpp: More 64-bit MSC warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/VBox/strformat-vbox.cpp

    r11413 r14061  
    173173                                case 'd':
    174174                                {
    175                                     int cch = 0;
    176                                     int off = 0;
     175                                    size_t cch = 0;
     176                                    int     off = 0;
    177177
    178178                                    if (cchPrecision <= 0)
     
    211211                                    if (cchWidth-- > 0)
    212212                                    {
    213                                         int cch = RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, "%02x", *pu8++);
     213                                        size_t cch = RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, "%02x", *pu8++);
    214214                                        for (; cchWidth > 0; cchWidth--, pu8++)
    215215                                            cch += RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, " %02x", *pu8);
Note: See TracChangeset for help on using the changeset viewer.

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