aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support/subprocess_windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/support/subprocess_windows.c')
-rw-r--r--src/core/support/subprocess_windows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/support/subprocess_windows.c b/src/core/support/subprocess_windows.c
index b4b8656594..ce5c9eeb98 100644
--- a/src/core/support/subprocess_windows.c
+++ b/src/core/support/subprocess_windows.c
@@ -59,7 +59,7 @@ gpr_subprocess *gpr_subprocess_create(int argc, const char **argv) {
STARTUPINFO si;
PROCESS_INFORMATION pi;
- char *args = gpr_strjoin_sep(argv, argc, " ", NULL);
+ char *args = gpr_strjoin_sep(argv, (size_t)argc, " ", NULL);
TCHAR *args_tchar;
args_tchar = gpr_char_to_tchar(args);
@@ -119,7 +119,7 @@ getExitCode:
return 0;
}
if (GetExitCodeProcess(p->pi.hProcess, &dwExitCode)) {
- return dwExitCode;
+ return (int)dwExitCode;
} else {
return -1; // failed to get exit code
}