From c852f994eac3c0b438e6e768af6e7ef3669ee602 Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Fri, 17 Jan 2014 20:06:39 +0000 Subject: =?UTF-8?q?From=20Toralf=20F=C3=B6rster=20fix=20format=20strings?= =?UTF-8?q?=20for=20signed=20integers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9637 svn path=/trunk/; revision=54835 --- dumpcap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dumpcap.c') diff --git a/dumpcap.c b/dumpcap.c index 6d8433560a..fed35de3a0 100644 --- a/dumpcap.c +++ b/dumpcap.c @@ -1353,7 +1353,7 @@ print_machine_readable_interfaces(GList *if_list) else printf("\t"); - printf("%u\t", if_info->type); + printf("%i\t", if_info->type); for (addr = g_slist_nth(if_info->addrs, 0); addr != NULL; addr = g_slist_next(addr)) { @@ -1379,7 +1379,7 @@ print_machine_readable_interfaces(GList *if_list) } break; default: - printf("", if_addr->ifat_type); + printf("", if_addr->ifat_type); } } -- cgit v1.2.3