diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-28 21:55:11 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-28 21:55:11 +0000 |
commit | 8fd3ee05600dd7d0e6434e7eb824932c52000ce3 (patch) | |
tree | dc1df6288600e883ed53ac7e43a38a2d03abb9f3 /file.c | |
parent | 32780e71e8ce8c8fd1898cbcb62f6bc8a59341f3 (diff) |
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 'file.c')
-rw-r--r-- | file.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2741,7 +2741,7 @@ static gboolean match_ascii_and_unicode(capture_file *cf, frame_data *fdata, void *criterion) { cbs_t *info = criterion; - const char *ascii_text = (char*)info->data; + const char *ascii_text = info->data; size_t textlen = info->data_len; gboolean frame_matched; guint32 buf_len; @@ -2775,7 +2775,7 @@ static gboolean match_ascii(capture_file *cf, frame_data *fdata, void *criterion) { cbs_t *info = criterion; - const char *ascii_text = (char*)info->data; + const char *ascii_text = info->data; size_t textlen = info->data_len; gboolean frame_matched; guint32 buf_len; @@ -2807,7 +2807,7 @@ static gboolean match_unicode(capture_file *cf, frame_data *fdata, void *criterion) { cbs_t *info = criterion; - const char *ascii_text = (char*)info->data; + const char *ascii_text = info->data; size_t textlen = info->data_len; gboolean frame_matched; guint32 buf_len; |