aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-03-23 22:49:23 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-03-23 22:49:23 +0000
commit2896811274e430759305c7f25889cb0214213409 (patch)
tree30e2ec739ccffe6f19049153950e1d31f6604f66 /file.c
parent3288a39db202082ceb1120367d017792323fdecf (diff)
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/file.c b/file.c
index 1e739f4e0c..cae3f8c5d5 100644
--- a/file.c
+++ b/file.c
@@ -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;