summaryrefslogtreecommitdiff
path: root/deps/uv/test/runner-win.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/test/runner-win.c')
-rw-r--r--deps/uv/test/runner-win.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/uv/test/runner-win.c b/deps/uv/test/runner-win.c
index 0a9690e774..791b0ce4f6 100644
--- a/deps/uv/test/runner-win.c
+++ b/deps/uv/test/runner-win.c
@@ -65,7 +65,7 @@ void platform_init(int argc, char **argv) {
}
-int process_start(char *name, char *part, process_info_t *p) {
+int process_start(char *name, char *part, process_info_t *p, int is_helper) {
HANDLE file = INVALID_HANDLE_VALUE;
HANDLE nul = INVALID_HANDLE_VALUE;
WCHAR path[MAX_PATH], filename[MAX_PATH];
@@ -111,8 +111,8 @@ int process_start(char *name, char *part, process_info_t *p) {
goto error;
if (part) {
- if (_snwprintf((wchar_t*)args,
- sizeof(args) / sizeof(wchar_t),
+ if (_snwprintf((WCHAR*)args,
+ sizeof(args) / sizeof(WCHAR),
L"\"%s\" %S %S",
image,
name,
@@ -120,8 +120,8 @@ int process_start(char *name, char *part, process_info_t *p) {
goto error;
}
} else {
- if (_snwprintf((wchar_t*)args,
- sizeof(args) / sizeof(wchar_t),
+ if (_snwprintf((WCHAR*)args,
+ sizeof(args) / sizeof(WCHAR),
L"\"%s\" %S",
image,
name) < 0) {