aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2014-01-17 20:06:39 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2014-01-17 20:06:39 +0000
commitc852f994eac3c0b438e6e768af6e7ef3669ee602 (patch)
tree182783235ed5cee3c611c4190f11039dfb4b3999 /dumpcap.c
parent90ea235292d7f165ff95d64345e55a16364ae5aa (diff)
From Toralf Förster
fix format strings for signed integers https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9637 svn path=/trunk/; revision=54835
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 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("<type unknown %u>", if_addr->ifat_type);
+ printf("<type unknown %i>", if_addr->ifat_type);
}
}