diff options
author | Anders <anders.broman@ericsson.com> | 2015-06-09 10:13:29 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-06-09 14:13:14 +0000 |
commit | 4e60e8fb390005db6c69e9b79fa9a01140fa0e44 (patch) | |
tree | bdfa0b498ab74f7cce496fa027a0bd024404ee69 /ui/ui_util.h | |
parent | c4fbede67ae514607d4a636e567eb3d21f15410e (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 'ui/ui_util.h')
-rw-r--r-- | ui/ui_util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/ui_util.h b/ui/ui_util.h index b76e218951..5eba626104 100644 --- a/ui/ui_util.h +++ b/ui/ui_util.h @@ -25,6 +25,8 @@ #ifndef __UI_UTIL_H__ #define __UI_UTIL_H__ +#include <stdint.h> + #include "epan/packet_info.h" #include "epan/column-utils.h" @@ -56,7 +58,7 @@ extern void main_window_quit(void); /* read from a pipe (callback) */ typedef gboolean (*pipe_input_cb_t) (gint source, gpointer user_data); /* install callback function, called if pipe input is available */ -extern void pipe_input_set_handler(gint source, gpointer user_data, int *child_process, pipe_input_cb_t input_cb); +extern void pipe_input_set_handler(gint source, gpointer user_data, intptr_t *child_process, pipe_input_cb_t input_cb); /* packet_list.c */ |