summaryrefslogtreecommitdiff
path: root/epan/tvbparse.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-03-28 21:55:11 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-03-28 21:55:11 +0000
commit8fd3ee05600dd7d0e6434e7eb824932c52000ce3 (patch)
treedc1df6288600e883ed53ac7e43a38a2d03abb9f3 /epan/tvbparse.c
parent32780e71e8ce8c8fd1898cbcb62f6bc8a59341f3 (diff)
downloadwireshark-8fd3ee05600dd7d0e6434e7eb824932c52000ce3.tar.gz
Remove almost all of the casts I committed recently and in place of
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it. svn path=/trunk/; revision=21253
Diffstat (limited to 'epan/tvbparse.c')
-rw-r--r--epan/tvbparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tvbparse.c b/epan/tvbparse.c
index f37f103cc6..7b0114ddba 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 = (gchar*)tvb_get_ephemeral_string(key_elem->tvb,key_elem->offset,key_elem->len);
+ key = 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