aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes/ftype-bytes.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-01-25 17:07:57 +0000
committerJörg Mayer <jmayer@loplof.de>2004-01-25 17:07:57 +0000
commit21c1c34c023a855def95e634911208b78ca5b83c (patch)
tree8aefc5280a782da7e855697668d66fa36c6144d1 /epan/ftypes/ftype-bytes.c
parentc61e9f6ed04aa4d391185e24d5e0a0133397f817 (diff)
Add a cast to avoid a signedness warning
svn path=/trunk/; revision=9843
Diffstat (limited to 'epan/ftypes/ftype-bytes.c')
-rw-r--r--epan/ftypes/ftype-bytes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/ftypes/ftype-bytes.c b/epan/ftypes/ftype-bytes.c
index 908f49722e..e8f1bf75e1 100644
--- a/epan/ftypes/ftype-bytes.c
+++ b/epan/ftypes/ftype-bytes.c
@@ -1,5 +1,5 @@
/*
- * $Id: ftype-bytes.c,v 1.22 2004/01/01 17:02:56 obiot Exp $
+ * $Id: ftype-bytes.c,v 1.23 2004/01/25 17:07:57 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -576,7 +576,7 @@ cmp_matches(fvalue_t *fv_a, fvalue_t *fv_b)
rc = pcre_exec(
pcre->re, /* Compiled PCRE */
pcre->ex, /* PCRE extra from pcre_study() */
- a->data, /* The data to check for the pattern... */
+ (const char *) a->data, /* The data to check for the pattern... */
a->len, /* ... and its length */
0, /* Start offset within data */
options, /* PCRE options */