From 46b8669566a546d6887d3f82aace2d8dea3608ff Mon Sep 17 00:00:00 2001 From: Stephen Fisher Date: Mon, 26 Mar 2007 06:10:52 +0000 Subject: Fix a bunch more warnings. Add -Werror when using --with-warnings-as-errors under gcc to tools/lemon, plugins/mate and epan/ svn path=/trunk/; revision=21204 --- epan/follow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/follow.c') diff --git a/epan/follow.c b/epan/follow.c index a98b7fc214..5e35045d46 100644 --- a/epan/follow.c +++ b/epan/follow.c @@ -257,7 +257,7 @@ reassemble_tcp( gulong sequence, gulong length, const char* data, /* out of order packet */ if(data_length > 0 && sequence > seq[src_index] ) { tmp_frag = (tcp_frag *)g_malloc( sizeof( tcp_frag ) ); - tmp_frag->data = (guchar *)g_malloc( data_length ); + tmp_frag->data = (gchar *)g_malloc( data_length ); tmp_frag->seq = sequence; tmp_frag->len = length; tmp_frag->data_len = data_length; -- cgit v1.2.3