VirtualBox

Changeset 44926 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Mar 5, 2013 3:04:26 PM (12 years ago)
Author:
vboxsync
Message:

Additions/VBoxServices: two warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp

    r44869 r44926  
    247247
    248248        /* Report back in any case. */
    249         CALLBACKPAYLOAD_FILE_NOTFIY_READ cplRead = { rc, cbRead, pvDataRead };
     249        CALLBACKPAYLOAD_FILE_NOTFIY_READ cplRead = { rc, (uint32_t)cbRead, pvDataRead };
    250250        int rc2 = VbglR3GuestCtrlFileNotify(uClientId, ctx.uContextID, GUEST_FILE_NOTIFYTYPE_READ,
    251251                                            &cplRead, sizeof(cplRead));
     
    298298
    299299        /* Report back in any case. */
    300         CALLBACKPAYLOAD_FILE_NOTFIY_READ cplRead = { rc, cbRead, pvDataRead };
     300        CALLBACKPAYLOAD_FILE_NOTFIY_READ cplRead = { rc, (uint32_t)cbRead, pvDataRead };
    301301        int rc2 = VbglR3GuestCtrlFileNotify(uClientId, ctx.uContextID, GUEST_FILE_NOTIFYTYPE_READ,
    302302                                            &cplRead, sizeof(cplRead));
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