VirtualBox

Changeset 50731 in vbox


Ignore:
Timestamp:
Mar 10, 2014 8:55:25 AM (11 years ago)
Author:
vboxsync
Message:

Build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnDDropTarget.cpp

    r50730 r50731  
    464464                                RTCString strRoot = lstURI.RootToString();
    465465                                size_t cbRoot = strRoot.length();
     466                                Assert(cbRoot);
    466467
    467468                                mpvData = RTMemAllocZ(cbRoot + 1 /* Include termination */);
    468469                                if (mpvData)
    469470                                {
    470                                     memcpy(mpvData, strRoot.raw(), cbRoot);
     471                                    memcpy(mpvData, strRoot.c_str(), cbRoot);
    471472                                    mcbData = cbRoot + 1;
    472473                                }
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