diff options
author | Jörg Mayer <jmayer@loplof.de> | 2005-01-16 15:45:21 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2005-01-16 15:45:21 +0000 |
commit | 491ceb39058e9038aba4f35bae505f1af031a120 (patch) | |
tree | c4849c6200238e7430525660575d7ddd46297c6a /plugins | |
parent | f4a0e4c7837fc02b8284f623948b53011cd96073 (diff) |
Some trivial warning fixes in mate
svn path=/trunk/; revision=13073
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mate/mate.h | 2 | ||||
-rw-r--r-- | plugins/mate/mate_util.h | 2 | ||||
-rw-r--r-- | plugins/mate/packet-mate.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/mate/mate.h b/plugins/mate/mate.h index 2f6871781e..c7f2932d4e 100644 --- a/plugins/mate/mate.h +++ b/plugins/mate/mate.h @@ -328,6 +328,6 @@ extern int mate_packet(void* _U_, packet_info* _U_, epan_dissect_t* _U_,const vo /* from mate_setup.c */ extern mate_config* mate_make_config(guint8* filename); -extern mate_config* mate_cfg(); +extern mate_config* mate_cfg(void); #endif diff --git a/plugins/mate/mate_util.h b/plugins/mate/mate_util.h index 3c9ee9c253..2b586064a5 100644 --- a/plugins/mate/mate_util.h +++ b/plugins/mate/mate_util.h @@ -110,7 +110,7 @@ typedef enum _avpl_match_mode { typedef enum _avpl_replace_mode { AVPL_NO_REPLACE, AVPL_INSERT, - AVPL_REPLACE, + AVPL_REPLACE } avpl_replace_mode; typedef struct _avpl_transf AVPL_Transf; diff --git a/plugins/mate/packet-mate.c b/plugins/mate/packet-mate.c index 4c965078a4..902ad43f28 100644 --- a/plugins/mate/packet-mate.c +++ b/plugins/mate/packet-mate.c @@ -121,8 +121,8 @@ void mate_gop_tree(proto_tree* tree, tvbuff_t *tvb, mate_gop* gop) { mate_pdu* gop_pdus; float rel_time; float gop_time; - guint8* pdu_str; - guint8* type_str; + gchar* pdu_str; + gchar* type_str; guint32 pdu_item; gop_item = proto_tree_add_uint(tree,gop->cfg->hfid,tvb,0,0,gop->id); |