VirtualBox

Changeset 16307 in vbox


Ignore:
Timestamp:
Jan 28, 2009 1:21:49 PM (16 years ago)
Author:
vboxsync
Message:

OVF: ensure 64-bit math

File:
1 edited

Legend:

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

    r16306 r16307  
    12221222            ComAssertComRCThrowRC(rc);
    12231223            /* VBox stores that in MByte */
    1224             ullMemSizeVBox = memSizeVBox2 * _1M;
     1224            ullMemSizeVBox = (uint64_t)memSizeVBox2 * _1M;
    12251225        }
    12261226        vsd->addEntry(VirtualSystemDescriptionType_Memory, "", toString<uint64_t>(vs.ullMemorySize), toString<uint64_t>(ullMemSizeVBox));
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