diff options
author | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-28 21:55:11 +0000 |
---|---|---|
committer | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-28 21:55:11 +0000 |
commit | 915762792536e1904394f58ca4962760d84970ee (patch) | |
tree | dc1df6288600e883ed53ac7e43a38a2d03abb9f3 /file.c | |
parent | 9eb2c4641e6b7e5fc6757979bd9fcc022089f58a (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21253 f5534014-38df-0310-8fa8-9805f1628bb7
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; |