diff options
author | Ron Yorston <rmy@pobox.com> | 2015-07-15 11:45:53 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-07-15 11:53:50 +0100 |
commit | 70a4a723c507efc4e1bcfa4d4685da0821bff6dc (patch) | |
tree | a0ec583f0be1ed6f3fa46906d7b8d7ba2c8cadb2 /win32/process.c | |
parent | a08314a5ac85a613ef1c8b1d14badae7e7324409 (diff) | |
download | busybox-w32-70a4a723c507efc4e1bcfa4d4685da0821bff6dc.tar.gz busybox-w32-70a4a723c507efc4e1bcfa4d4685da0821bff6dc.tar.bz2 busybox-w32-70a4a723c507efc4e1bcfa4d4685da0821bff6dc.zip |
win32: silence some compiler warnings
Diffstat (limited to 'win32/process.c')
-rw-r--r-- | win32/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/process.c b/win32/process.c index e38792b5a..2206a0a5e 100644 --- a/win32/process.c +++ b/win32/process.c | |||
@@ -10,7 +10,7 @@ int waitpid(pid_t pid, int *status, int options) | |||
10 | if (pid > 0 && options == 0) { | 10 | if (pid > 0 && options == 0) { |
11 | if ( (proc=OpenProcess(SYNCHRONIZE|PROCESS_QUERY_INFORMATION, | 11 | if ( (proc=OpenProcess(SYNCHRONIZE|PROCESS_QUERY_INFORMATION, |
12 | FALSE, pid)) != NULL ) { | 12 | FALSE, pid)) != NULL ) { |
13 | ret = _cwait(status, proc, 0); | 13 | ret = _cwait(status, (intptr_t)proc, 0); |
14 | CloseHandle(proc); | 14 | CloseHandle(proc); |
15 | return ret; | 15 | return ret; |
16 | } | 16 | } |