diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 01:47:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 01:47:04 +0000 |
commit | 1ce3c672e49dba730b528aa346bb522c0150567c (patch) | |
tree | 3dcb498231ff119d9a836ed1a154d81140b84f8e /src/VBox/Runtime | |
parent | Adding upstream version 7.0.16-dfsg. (diff) | |
download | virtualbox-1ce3c672e49dba730b528aa346bb522c0150567c.tar.xz virtualbox-1ce3c672e49dba730b528aa346bb522c0150567c.zip |
Adding upstream version 7.0.18-dfsg.upstream/7.0.18-dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/VBox/Runtime/r3/ftp-server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Runtime/r3/ftp-server.cpp b/src/VBox/Runtime/r3/ftp-server.cpp index 425aad03..7a6814fc 100644 --- a/src/VBox/Runtime/r3/ftp-server.cpp +++ b/src/VBox/Runtime/r3/ftp-server.cpp @@ -2269,7 +2269,7 @@ static int rtFtpServerCmdArgsParse(const char *pszCmdParms, uint8_t *pcArgs, cha int rc = RTGetOptArgvFromString(ppapszArgs, &cArgs, pszCmdParms, RTGETOPTARGV_CNV_QUOTE_MS_CRT, " " /* Separators */); if (RT_SUCCESS(rc)) { - if (cArgs <= UINT8_MAX) + if ((unsigned int)cArgs <= (unsigned int)UINT8_MAX) { *pcArgs = (uint8_t)cArgs; } |