aboutsummaryrefslogtreecommitdiffstats
path: root/epan/follow.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-03-26 06:10:52 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-03-26 06:10:52 +0000
commit46b8669566a546d6887d3f82aace2d8dea3608ff (patch)
treeb9f9d98a83bf6452d40eed647a29d2cd21cdfecd /epan/follow.c
parent9fe056a3d70bdce224e64536f2fe8869b95e78e9 (diff)
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
Diffstat (limited to 'epan/follow.c')
-rw-r--r--epan/follow.c2
1 files changed, 1 insertions, 1 deletions
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;