VirtualBox

Changeset 18327 in vbox for trunk/src


Ignore:
Timestamp:
Mar 26, 2009 4:27:39 PM (16 years ago)
Author:
vboxsync
Message:

Main: fix VMDK image truncation with exports > 4 GB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp

    r18179 r18327  
    183183
    184184/** Convert sector number/size to byte offset/size. */
    185 #define VMDK_SECTOR2BYTE(u) ((u) << 9)
     185#define VMDK_SECTOR2BYTE(u) ((uint64_t)(u) << 9)
    186186
    187187/** Convert byte offset/size to sector number/size. */
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