summaryrefslogtreecommitdiffstats
path: root/src/VBox/Runtime/r3
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Runtime/r3')
-rw-r--r--src/VBox/Runtime/r3/ftp-server.cpp2
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;
}