aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/stats_tree
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2008-07-11 21:13:39 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2008-07-11 21:13:39 +0000
commit71c1e4faf015c565e543b78b7324b6eb6d528f07 (patch)
tree5e1e69aa616bb4bdffc060e562f4230fdad6b1f9 /plugins/stats_tree
parentbde286846f5b4c4589cb8d9256a6282720e96086 (diff)
Change the stats tree API to use signed chars instead of guint8s for all its
strings; this should fix a number of signed/unsigned char warnings. Reindent a bunch, too. svn path=/trunk/; revision=25716
Diffstat (limited to 'plugins/stats_tree')
-rw-r--r--plugins/stats_tree/pinfo_stats_tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/stats_tree/pinfo_stats_tree.c b/plugins/stats_tree/pinfo_stats_tree.c
index 31b33a7855..cca4933049 100644
--- a/plugins/stats_tree/pinfo_stats_tree.c
+++ b/plugins/stats_tree/pinfo_stats_tree.c
@@ -58,7 +58,7 @@ static void ip_hosts_stats_tree_init(stats_tree* st) {
}
static int ip_hosts_stats_tree_packet(stats_tree *st , packet_info *pinfo, epan_dissect_t *edt _U_, const void *p _U_) {
- static guint8 str[128];
+ static gchar str[128];
tick_stat_node(st, st_str_ip, 0, FALSE);
@@ -118,7 +118,7 @@ static void dsts_stats_tree_init(stats_tree* st) {
}
static int dsts_stats_tree_packet(stats_tree* st, packet_info* pinfo, epan_dissect_t *edt _U_, const void *p _U_) {
- static guint8 str[128];
+ static gchar str[128];
int ip_dst_node;
int proto_node;