VirtualBox

Changeset 85372 in vbox for trunk/src


Ignore:
Timestamp:
Jul 17, 2020 10:08:26 AM (4 years ago)
Author:
vboxsync
Message:

DnD: Build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/DragAndDrop/DnDTransferObject.cpp

    r85371 r85372  
    3333#include <VBox/log.h>
    3434
     35
    3536/*********************************************************************************************************************************
    3637*   Prototypes                                                                                                                   *
     
    9596
    9697        /* Save the index (in characters) where the destination part starts. */
    97         pObj->idxDst = (uint16_t)RTStrNLen(szPath, RTSTR_MAX);
    98         AssertReturn(pObj->idxDst != RTSTR_MAX, VERR_INVALID_PARAMETER);
     98        pObj->idxDst = (uint16_t)RTStrNLen(szPath, RTPATH_MAX);
     99        AssertReturn(pObj->idxDst <= RTPATH_MAX, VERR_INVALID_PARAMETER);
    99100    }
    100101    else
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