VirtualBox

Changeset 99375 in vbox for trunk


Ignore:
Timestamp:
Apr 11, 2023 3:05:40 PM (18 months ago)
Author:
vboxsync
Message:

fixing signed unsigned issue in ftp-server

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/ftp-server.cpp

    r99374 r99375  
    22682268    /** @todo Check if quoting is correct. */
    22692269
    2270     unsigned int cArgs = 0;
     2270    int cArgs = 0;
    22712271    int rc = RTGetOptArgvFromString(ppapszArgs, &cArgs, pszCmdParms, RTGETOPTARGV_CNV_QUOTE_MS_CRT, " " /* Separators */);
    22722272    if (RT_SUCCESS(rc))
    22732273    {
    2274         if (cArgs <= UINT8_MAX)
     2274        if ((unsigned int)cArgs <= UINT8_MAX)
    22752275        {
    22762276            *pcArgs = (uint8_t)cArgs;
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