VirtualBox

Changeset 33707 in vbox


Ignore:
Timestamp:
Nov 2, 2010 6:44:21 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67333
Message:

Main/Console: use appropriately sized types to resolve the compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r33690 r33707  
    535535    uint32_t cbRamHole = MM_RAM_HOLE_SIZE_DEFAULT;
    536536    uint64_t u64McfgBase   = 0;
    537     uint64_t u64McfgLength = 0;
     537    uint32_t u32McfgLength = 0;
    538538
    539539    ChipsetType_T chipsetType;
     
    543543        /* We'd better have 0x10000000 region, to cover 256 buses
    544544           but this put too much load on hypervisor heap */
    545         u64McfgLength = 0x4000000; //0x10000000;
    546         cbRamHole += u64McfgLength;
     545        u32McfgLength = 0x4000000; //0x10000000;
     546        cbRamHole += u32McfgLength;
    547547        u64McfgBase = _4G - cbRamHole;
    548548    }
     
    875875            /* Provide MCFG info */
    876876            InsertConfigInteger(pCfg,  "McfgBase",   u64McfgBase);
    877             InsertConfigInteger(pCfg,  "McfgLength", u64McfgLength);
     877            InsertConfigInteger(pCfg,  "McfgLength", u32McfgLength);
    878878
    879879
     
    23222322            {
    23232323                InsertConfigInteger(pCfg,  "McfgBase",   u64McfgBase);
    2324                 InsertConfigInteger(pCfg,  "McfgLength", u64McfgLength);
     2324                InsertConfigInteger(pCfg,  "McfgLength", u32McfgLength);
    23252325            }
    23262326            InsertConfigInteger(pCfg,  "HostBusPciAddress", u32HbcPciAddress);
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