VirtualBox

Changeset 18727 in vbox for trunk/src


Ignore:
Timestamp:
Apr 6, 2009 7:42:48 AM (16 years ago)
Author:
vboxsync
Message:

Fixed overflow for large memory host systems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMSettingsGeneral.cpp

    r18632 r18727  
    434434            "for your host operating system. Please select a smaller amount.")
    435435            .arg ((unsigned)(maxPct * 100))
    436             .arg (vboxGlobal().formatSize (fullSize * _1M));
     436            .arg (vboxGlobal().formatSize ((uint64_t)fullSize * _1M));
    437437        return false;
    438438    }
     
    444444            "left for your host operating system. Continue at your own risk.")
    445445            .arg ((unsigned)(warnPct * 100))
    446             .arg (vboxGlobal().formatSize (fullSize * _1M));
     446            .arg (vboxGlobal().formatSize ((uint64_t)fullSize * _1M));
    447447        return true;
    448448    }
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