diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-07-12 01:48:24 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-07-12 01:48:24 +0000 |
commit | 8408d3c5af1716659e4662a363c2aa2693867254 (patch) | |
tree | 0d1aa7b1f115345acaa3a4d5af41e16d546b7e2d /epan | |
parent | 844a696d55db9327a34403d347789f88570dccb7 (diff) |
More (mostly stats tree) unsigned->signed char cleanup
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25717 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-http.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-ieee80211.h | 2 | ||||
-rw-r--r-- | epan/stats_tree.c | 2 | ||||
-rw-r--r-- | epan/stats_tree_priv.h | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-http.c b/epan/dissectors/packet-http.c index b7b83482fc..cd956eee57 100644 --- a/epan/dissectors/packet-http.c +++ b/epan/dissectors/packet-http.c @@ -414,7 +414,7 @@ http_stats_tree_packet(stats_tree* st, packet_info* pinfo _U_, epan_dissect_t* e const http_info_value_t* v = p; guint i = v->response_code; int resp_grp; - const guint8* resp_str; + const gchar *resp_str; static gchar str[64]; tick_stat_node(st, st_str_packets, 0, FALSE); diff --git a/epan/dissectors/packet-ieee80211.h b/epan/dissectors/packet-ieee80211.h index 2ecf8bec61..f7a1ef9689 100644 --- a/epan/dissectors/packet-ieee80211.h +++ b/epan/dissectors/packet-ieee80211.h @@ -45,7 +45,7 @@ struct _wlan_stats { guint8 channel; guint8 ssid_len; guchar ssid[MAX_SSID_LEN]; - guchar protection[MAX_PROTECT_LEN]; + gchar protection[MAX_PROTECT_LEN]; }; typedef struct _wlan_hdr { diff --git a/epan/stats_tree.c b/epan/stats_tree.c index 292cac1e9d..57747dea68 100644 --- a/epan/stats_tree.c +++ b/epan/stats_tree.c @@ -45,7 +45,7 @@ static GHashTable *registry = NULL; /* writes into the buffers pointed by value, rate and percent the string representations of a node*/ extern void -stats_tree_get_strs_from_node(const stat_node *node, guint8 *value, guint8 *rate, guint8 *percent) +stats_tree_get_strs_from_node(const stat_node *node, gchar *value, gchar *rate, gchar *percent) { float f; diff --git a/epan/stats_tree_priv.h b/epan/stats_tree_priv.h index 5c4a2d3c75..304746b322 100644 --- a/epan/stats_tree_priv.h +++ b/epan/stats_tree_priv.h @@ -181,9 +181,9 @@ extern stats_tree_cfg *stats_tree_get_cfg_by_abbr(gchar *abbr); the buffers given by value, rate and precent if NULL they are ignored */ extern void stats_tree_get_strs_from_node(const stat_node *node, - guint8 *value, - guint8 *rate, - guint8 *percent); + gchar *value, + gchar *rate, + gchar *percent); /* populates the given GString with a tree representation of a branch given by node, using indent spaces as indentation */ |