aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-dplay.c')
-rw-r--r--epan/dissectors/packet-dplay.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dplay.c b/epan/dissectors/packet-dplay.c
index f90183642e..9d43cc3bb1 100644
--- a/epan/dissectors/packet-dplay.c
+++ b/epan/dissectors/packet-dplay.c
@@ -33,6 +33,9 @@
#include <string.h>
/* function declarations */
+void proto_register_dplay(void);
+void proto_reg_handoff_dplay(void);
+
static void dissect_dplay(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
static gint dissect_type1a_message(proto_tree *tree, tvbuff_t *tvb, gint offset);
@@ -425,7 +428,7 @@ static gint display_unicode_string(proto_tree *tree, gint hf_index, tvbuff_t *tv
* Allocate a buffer for the string; "len" is the length in
* bytes, not the length in characters.
*/
- str = ep_alloc(len/2);
+ str = (char *)ep_alloc(len/2);
/*
* XXX - this assumes the string is just ISO 8859-1; we need