diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-07-11 21:13:39 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-07-11 21:13:39 +0000 |
commit | 844a696d55db9327a34403d347789f88570dccb7 (patch) | |
tree | 5e1e69aa616bb4bdffc060e562f4230fdad6b1f9 /epan/dissectors/packet-ucp.c | |
parent | 6fc0b32373e10afe2a8017b3ee98b367c3f83a65 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25716 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ucp.c')
-rw-r--r-- | epan/dissectors/packet-ucp.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/epan/dissectors/packet-ucp.c b/epan/dissectors/packet-ucp.c index 82f85690a8..927886230d 100644 --- a/epan/dissectors/packet-ucp.c +++ b/epan/dissectors/packet-ucp.c @@ -110,12 +110,12 @@ static int st_ucp_results = -1; static int st_ucp_results_pos = -1; static int st_ucp_results_neg = -1; -static guint8* st_str_ucp = "UCP Messages"; -static guint8* st_str_ops = "Operations"; -static guint8* st_str_res = "Results"; -static guint8* st_str_ucp_res = "UCP Results Acks/Nacks"; -static guint8* st_str_pos = "Positive"; -static guint8* st_str_neg = "Negative"; +static gchar* st_str_ucp = "UCP Messages"; +static gchar* st_str_ops = "Operations"; +static gchar* st_str_res = "Results"; +static gchar* st_str_ucp_res = "UCP Results Acks/Nacks"; +static gchar* st_str_pos = "Positive"; +static gchar* st_str_neg = "Negative"; /* * Data (variable) section @@ -2757,5 +2757,7 @@ proto_reg_handoff_ucp(void) dissector_add_handle("tcp.port", ucp_handle); /* Tapping setup */ - stats_tree_register("ucp", "ucp_messages", st_str_ucp, ucp_stats_tree_per_packet, ucp_stats_tree_init, NULL); + stats_tree_register("ucp", "ucp_messages", st_str_ucp, + ucp_stats_tree_per_packet, ucp_stats_tree_init, + NULL); } |