VirtualBox

Changeset 104438 in vbox


Ignore:
Timestamp:
Apr 25, 2024 7:54:41 PM (11 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162942
Message:

really fixing signed unsigned issue in ftp-server (UINT8_MAX is often a signed integer constant)

File:
1 edited

Legend:

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

    r103117 r104438  
    22702270    if (RT_SUCCESS(rc))
    22712271    {
    2272         if ((unsigned int)cArgs <= UINT8_MAX)
     2272        if ((unsigned int)cArgs <= (unsigned int)UINT8_MAX)
    22732273        {
    22742274            *pcArgs = (uint8_t)cArgs;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette