diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-26 06:10:52 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-26 06:10:52 +0000 |
commit | 46b8669566a546d6887d3f82aace2d8dea3608ff (patch) | |
tree | b9f9d98a83bf6452d40eed647a29d2cd21cdfecd /epan/follow.c | |
parent | 9fe056a3d70bdce224e64536f2fe8869b95e78e9 (diff) | |
download | wireshark-46b8669566a546d6887d3f82aace2d8dea3608ff.tar.gz |
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.c | 2 |
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; |