path: root/capchild/capture_sync.h
diff options
authorAnders <anders.broman@ericsson.com>2015-06-09 10:13:29 +0200
committerAnders Broman <a.broman58@gmail.com>2015-06-09 14:13:14 +0000
commit4e60e8fb390005db6c69e9b79fa9a01140fa0e44 (patch)
treebdfa0b498ab74f7cce496fa027a0bd024404ee69 /capchild/capture_sync.h
parentc4fbede67ae514607d4a636e567eb3d21f15410e (diff)
[MSVC 2015] Use intptr_t for "pointer stored as int" to make MSVC happy.
Change-Id: I5dbbea8527a8bb73b17e5a8a5611c3923d82459c Reviewed-on: https://code.wireshark.org/review/8852 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'capchild/capture_sync.h')
1 files changed, 3 insertions, 3 deletions
diff --git a/capchild/capture_sync.h b/capchild/capture_sync.h
index 2c4bb639af..c56656bc09 100644
--- a/capchild/capture_sync.h
+++ b/capchild/capture_sync.h
@@ -54,7 +54,7 @@ sync_pipe_stop(capture_session *cap_session);
/** User wants to stop the program, just kill the child as soon as possible */
extern void
-sync_pipe_kill(int fork_child);
+sync_pipe_kill(intptr_t fork_child);
/** Set wireless channel using dumpcap */
extern int
@@ -75,11 +75,11 @@ sync_if_capabilities_open(const gchar *ifname, gboolean monitor_mode,
/** Start getting interface statistics using dumpcap. */
extern int
-sync_interface_stats_open(int *read_fd, int *fork_child, gchar **msg, void (*update_cb)(void));
+sync_interface_stats_open(int *read_fd, intptr_t *fork_child, gchar **msg, void (*update_cb)(void));
/** Stop gathering statistics. */
extern int
-sync_interface_stats_close(int *read_fd, int *fork_child, gchar **msg);
+sync_interface_stats_close(int *read_fd, intptr_t *fork_child, gchar **msg);
/** Read a line from a pipe, similar to fgets. Non-blocking. */
extern int