VirtualBox

Changeset 9835 in vbox


Ignore:
Timestamp:
Jun 20, 2008 8:49:07 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32217
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp

    r9833 r9835  
    11581158                switch (cbValue)
    11591159                {
    1160                     case 1: *(uint8_t *)pu32Value  = 0x00; break;
    1161                     case 2: *(uint16_t *)pu32Value = 0x0000; break;
    1162                     case 4: *(uint32_t *)pu32Value = 0x00000000; break;
    1163                     case 8: *(uint64_t *)pu32Value = 0x0000000000000000; break;
     1160                    case 1: *(uint8_t *)pu32Value  = UINT8_C(0x00); break;
     1161                    case 2: *(uint16_t *)pu32Value = UINT16_C(0x0000); break;
     1162                    case 4: *(uint32_t *)pu32Value = UINT32_C(0x00000000); break;
     1163                    case 8: *(uint64_t *)pu32Value = UINT64_C(0x0000000000000000); break;
    11641164                    default: AssertReleaseMsgFailed(("cbValue=%d GCPhys=%VGp\n", cbValue, GCPhys)); break;
    11651165                }
     
    11701170                switch (cbValue)
    11711171                {
    1172                     case 1: *(uint8_t *)pu32Value  = 0xff; break;
    1173                     case 2: *(uint16_t *)pu32Value = 0xffff; break;
    1174                     case 4: *(uint32_t *)pu32Value = 0xffffffff; break;
    1175                     case 8: *(uint64_t *)pu32Value = 0xffffffffffffffff; break;
     1172                    case 1: *(uint8_t *)pu32Value  = UINT8_C(0xff); break;
     1173                    case 2: *(uint16_t *)pu32Value = UINT16_C(0xffff); break;
     1174                    case 4: *(uint32_t *)pu32Value = UINT32_C(0xffffffff); break;
     1175                    case 8: *(uint64_t *)pu32Value = UINT64_C(0xffffffffffffffff); break;
    11761176                    default: AssertReleaseMsgFailed(("cbValue=%d GCPhys=%VGp\n", cbValue, GCPhys)); break;
    11771177                }
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