diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-23 22:49:23 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-23 22:49:23 +0000 |
commit | 2896811274e430759305c7f25889cb0214213409 (patch) | |
tree | 30e2ec739ccffe6f19049153950e1d31f6604f66 /file.c | |
parent | 3288a39db202082ceb1120367d017792323fdecf (diff) | |
download | wireshark-2896811274e430759305c7f25889cb0214213409.tar.gz wireshark-2896811274e430759305c7f25889cb0214213409.tar.bz2 wireshark-2896811274e430759305c7f25889cb0214213409.zip |
Fix about 150 warnings new to gcc 4.0 in the error on warning directories.
Comment out -Werror in plugins/asn1/ until warnings can be fixed.
svn path=/trunk/; revision=21158
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 = info->data; + const char *ascii_text = (char*)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 = info->data; + const char *ascii_text = (char*)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 = info->data; + const char *ascii_text = (char*)info->data; size_t textlen = info->data_len; gboolean frame_matched; guint32 buf_len; |