aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-08-01 16:49:12 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-08-01 16:49:12 +0000
commit341fba51c59cacfe4cec9917728a23ca9c24e737 (patch)
tree862e982a27597c2e94a14572114523f278b52520
parent2f2a8edbd7ceb36e3dd168c0f8700c6babc564b6 (diff)
Remove a few warnings.
svn path=/trunk/; revision=25899
-rw-r--r--file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/file.c b/file.c
index cf2524b969..071d2b5718 100644
--- a/file.c
+++ b/file.c
@@ -2846,7 +2846,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 guint8 *ascii_text = info->data;
size_t textlen = info->data_len;
gboolean frame_matched;
guint32 buf_len;
@@ -2880,7 +2880,7 @@ static gboolean
match_ascii(capture_file *cf, frame_data *fdata, void *criterion)
{
cbs_t *info = criterion;
- const char *ascii_text = info->data;
+ const guint8 *ascii_text = info->data;
size_t textlen = info->data_len;
gboolean frame_matched;
guint32 buf_len;
@@ -2912,7 +2912,7 @@ static gboolean
match_unicode(capture_file *cf, frame_data *fdata, void *criterion)
{
cbs_t *info = criterion;
- const char *ascii_text = info->data;
+ const guint8 *ascii_text = info->data;
size_t textlen = info->data_len;
gboolean frame_matched;
guint32 buf_len;