aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dplay.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-16 16:25:41 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-16 16:25:41 +0000
commit263a9d068391ece88bf6678586551a5780e50ad2 (patch)
tree71d6bdd48306278138d1391b48a34ddf7e7326d0 /epan/dissectors/packet-dplay.c
parentc7dd35dffc56269e61decf1b0317c45573d3084d (diff)
[-Wmissing-prototypes]
Use explicit casts. svn path=/trunk/; revision=48341
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