VirtualBox

Ignore:
Timestamp:
Jul 22, 2016 2:51:49 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109001
Message:

IPRT: More MSC level 4 warning fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/math/bignum.cpp

    r59747 r62448  
    11011101    {
    11021102        RTBIGNUM_ASSERT_VALID(pLeft);
    1103         if (pLeft->fNegative == (iRight < 0))
     1103        if (pLeft->fNegative == (unsigned)(iRight < 0)) /* (unsigned cast is for MSC weirdness) */
    11041104        {
    11051105            AssertCompile(RTBIGNUM_ELEMENT_SIZE <= sizeof(iRight));
     
    17291729    {
    17301730        int rc = rtBigNumSetUsed(pBigNum, cUsed + 1);
     1731        AssertRCReturn(rc, rc);
    17311732        pBigNum->pauElements[cUsed] = uCarry;
    17321733    }
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