VirtualBox

Ignore:
Timestamp:
Feb 5, 2010 12:14:31 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57307
Message:

strversion.cpp: Use the right type. (gcc warning)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/strversion.cpp

    r25031 r26251  
    9191
    9292        /* Translate standard pre release terms to negative values. */
    93         uint32_t iVal1;
     93        int32_t iVal1;
    9494        if (     cchBlock == 2 && !RTStrNICmp(*ppszVer, "RC", 2))
    9595            iVal1 = -100000;
     
    118118                    iVal1 += *pi32Value - 1;
    119119                else
    120                 {   
     120                {
    121121                    AssertRC(rc);
    122122                    psz = psz2;
     
    164164        }
    165165        else if (   fNumeric1 != fNumeric2
    166                  && (  fNumeric1 
     166                 && (  fNumeric1
    167167                     ? iVal1 == 0 && cchBlock2 == 0
    168168                     : iVal2 == 0 && cchBlock1 == 0)
     
    173173        else if (   fNumeric1 != fNumeric2
    174174                 && (fNumeric1 ? iVal1 : iVal2) < 0)
    175         {   
     175        {
    176176            /* Pre-release indicators are smaller than all other strings. */
    177177            return fNumeric1 ? -1 : 1;
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