aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcp-etsi.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-16 08:52:09 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-16 08:52:09 +0000
commit5a85b7fed2eb804db57cde3c851a12088cc60ee7 (patch)
tree80e3d37b1fe7dc5176b11794585f29346fbc0477 /epan/dissectors/packet-dcp-etsi.c
parent27744ecc2d9925491e5ef8cc97e41d551efc6a2e (diff)
[-Wmissing-prototypes]
Use explicit casts. svn path=/trunk/; revision=48338
Diffstat (limited to 'epan/dissectors/packet-dcp-etsi.c')
-rw-r--r--epan/dissectors/packet-dcp-etsi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dcp-etsi.c b/epan/dissectors/packet-dcp-etsi.c
index a0c998c550..3fb9cfcf29 100644
--- a/epan/dissectors/packet-dcp-etsi.c
+++ b/epan/dissectors/packet-dcp-etsi.c
@@ -36,7 +36,8 @@
#include <string.h>
/* forward reference */
-
+void proto_register_dcp_etsi(void);
+void proto_reg_handoff_dcp_etsi(void);
static void dissect_af (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree);
static void dissect_pft (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree);
static void dissect_tpl(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree);
@@ -288,7 +289,7 @@ dissect_pft_fec_detailed(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree,
proto_tree_add_text (tree, tvb, 0, -1, "want %d, got %d need %d",
fcount, fragments, rx_min
);
- got = ep_alloc(fcount*sizeof(guint32));
+ got = (guint32 *)ep_alloc(fcount*sizeof(guint32));
/* make a list of the findex (offset) numbers of the fragments we have */
fd = fragment_get(pinfo, seq, dcp_fragment_table);