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/tvbparse.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/tvbparse.c')
-rw-r--r-- | epan/tvbparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tvbparse.c b/epan/tvbparse.c index 7b0114ddba..f37f103cc6 100644 --- a/epan/tvbparse.c +++ b/epan/tvbparse.c @@ -512,7 +512,7 @@ static int cond_hash(tvbparse_t* tt, int offset, const tvbparse_wanted_t* wanted if (key_len < 0) return -1; - key = tvb_get_ephemeral_string(key_elem->tvb,key_elem->offset,key_elem->len); + key = (gchar*)tvb_get_ephemeral_string(key_elem->tvb,key_elem->offset,key_elem->len); #ifdef TVBPARSE_DEBUG if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_HASH) g_warning("cond_hash: got key='%s'",key); #endif |