aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-04-23 17:37:36 +0000
committerGuy Harris <guy@alum.mit.edu>2007-04-23 17:37:36 +0000
commit56fcbf41bef0353a49be258f7899b2049167c3ee (patch)
tree5c872666fd0e70ee4a634f1b21c82d20d7e8de56 /epan
parent877db595ff10a96ec470862556d091f715e5b8eb (diff)
The "needles" argument of guint8_pbrk() needs to be const, as that's
what's passed to it. svn path=/trunk/; revision=21531
Diffstat (limited to 'epan')
-rw-r--r--epan/tvbuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c
index 6189960fe3..32cab7d0f6 100644
--- a/epan/tvbuff.c
+++ b/epan/tvbuff.c
@@ -880,7 +880,7 @@ guint8_find(const guint8* haystack, size_t haystacklen, guint8 needle)
}
static const guint8*
-guint8_pbrk(const guint8* haystack, size_t haystacklen, guint8 *needles)
+guint8_pbrk(const guint8* haystack, size_t haystacklen, const guint8 *needles)
{
const guint8 *b;
int i;