VirtualBox

Ignore:
Timestamp:
Jul 11, 2020 4:26:16 PM (4 years ago)
Author:
vboxsync
Message:

NetworkServices/DhcpOptions: Signed warning fix. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/Dhcpd/DhcpOptions.cpp

    r82968 r85230  
    202202        if (pszNext)
    203203        {
    204             size_t cchToCopy = pszNext - pcszValue;
     204            size_t cchToCopy = (size_t)(pszNext - pcszValue);
    205205            if (cchToCopy >= sizeof(szTmp))
    206206                return VERR_INVALID_PARAMETER;
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