URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=62c3bc3596e2ba9fa04f80bc7b49fe82802ce841
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
62c3bc3 by Guy Harris (guy@xxxxxxxxxxxx):
Squelch some type-clash warnings on Windows.
Define WS_INVALID_PID to be the appropriate "there is no process" value.
On UN*X, -1 works; the "pid" is actually a HANDLE for the process on
Windows, so INVALID_HANDLE is appropriate.
Cast HANDLE to intptr_t in the _cwait() call.
Change-Id: Ica2d2319f5c95ba41f590776a745fe040fe494d2
Reviewed-on: https://code.wireshark.org/review/8871
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from a10a41f Rename wsutil/process.h to wsutil/processes.h to avoid collisions.
adds 62c3bc3 Squelch some type-clash warnings on Windows.
Summary of changes:
capchild/capture_sync.c | 20 ++++++++++----------
wsutil/processes.h | 15 +++++++++++++--
2 files changed, 23 insertions(+), 12 deletions(-)