diff options
Diffstat (limited to 'src/Common/Cmdline.c')
-rw-r--r-- | src/Common/Cmdline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Cmdline.c b/src/Common/Cmdline.c index f15b8d27..c1fde79a 100644 --- a/src/Common/Cmdline.c +++ b/src/Common/Cmdline.c @@ -107,7 +107,7 @@ int Win32CommandLine (char *lpszCommandLine, char ***lpszArgs) if (argLen > 0)
{
- int len = WideCharToMultiByte (CP_ACP, 0, arguments[i + 1], -1, arg, argLen + 1, NULL, NULL);
+ int len = WideCharToMultiByte (CP_ACP, 0, arguments[i + 1], -1, arg, (int) argLen + 1, NULL, NULL);
if (len == 0)
{
handleWin32Error (NULL);
|