summaryrefslogtreecommitdiffhomepage
path: root/src/argv
diff options
context:
space:
mode:
Diffstat (limited to 'src/argv')
-rw-r--r--src/argv/ntapi_tt_argv_envp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argv/ntapi_tt_argv_envp.c b/src/argv/ntapi_tt_argv_envp.c
index 586393e..520254d 100644
--- a/src/argv/ntapi_tt_argv_envp.c
+++ b/src/argv/ntapi_tt_argv_envp.c
@@ -360,7 +360,7 @@ int32_t __stdcall __ntapi_tt_get_argv_envp_utf16(
if (status) return status;
/* argv[] needs a terminating null pointer */
- if (main_params->argc == main_params->argv_envp_ptr_total)
+ if ((unsigned)main_params->argc == main_params->argv_envp_ptr_total)
return NT_STATUS_BUFFER_TOO_SMALL;
/* set idx to the envp[0] array index */