VirtualBox

Changeset 79252 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Jun 19, 2019 8:32:17 PM (5 years ago)
Author:
vboxsync
Message:

VBoxGuestR3LibGuestCtrl.cpp: Corrected offset parameter type for readAt and writeAt (incorrectly fetching them as 32-bit when meaning 64-bit). bugref:9320

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp

    r76958 r79252  
    11231123        VbglHGCMParmUInt32Set(&Msg.context, HOST_MSG_FILE_READ_AT);
    11241124        VbglHGCMParmUInt32Set(&Msg.handle, 0);
    1125         VbglHGCMParmUInt32Set(&Msg.offset, 0);
     1125        VbglHGCMParmUInt64Set(&Msg.offset, 0);
    11261126        VbglHGCMParmUInt32Set(&Msg.size, 0);
    11271127
     
    12021202        VbglHGCMParmPtrSet(&Msg.data, pvData, cbData);
    12031203        VbglHGCMParmUInt32Set(&Msg.size, 0);
    1204         VbglHGCMParmUInt32Set(&Msg.offset, 0);
     1204        VbglHGCMParmUInt64Set(&Msg.offset, 0);
    12051205
    12061206        rc = VbglR3HGCMCall(&Msg.hdr, sizeof(Msg));
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