aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2022-01-04 01:23:10 +0000
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-01-05 13:31:52 +0000
commit3f27a830fcc6d86014cf7fcb74e7753ed442cd1c (patch)
tree365b541fc1f2cbab59412ee8da7053d589d76018 /dumpcap.c
parent0f2cf2b33127ed8585b95c39f2ae535ced8a0760 (diff)
wslog: Use a wider type for line
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dumpcap.c b/dumpcap.c
index add3a89790..672802084d 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -320,7 +320,7 @@ static gboolean need_timeout_workaround;
static void
dumpcap_log_writer(const char *domain, enum ws_log_level level,
struct timespec timestamp,
- const char *file, int line, const char *func,
+ const char *file, long line, const char *func,
const char *user_format, va_list user_ap,
void *user_data);
@@ -5588,7 +5588,7 @@ main(int argc, char *argv[])
static void
dumpcap_log_writer(const char *domain, enum ws_log_level level,
struct timespec timestamp,
- const char *file, int line, const char *func,
+ const char *file, long line, const char *func,
const char *user_format, va_list user_ap,
void *user_data _U_)
{