diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-02-01 21:30:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-02-01 21:30:17 +0000 |
commit | 87b219554ea7dd1c88d90d1b1961d57cdba0f5bc (patch) | |
tree | 2756d8488627df166d28cc7a4acb9d5e51678ba4 /epan/tvbuff.h | |
parent | 650a8c3100afe642bc8b2299cb64c13db1272483 (diff) | |
download | wireshark-87b219554ea7dd1c88d90d1b1961d57cdba0f5bc.tar.gz |
Make "tvb_strneql()" take a "gchar *" rather than a "guint8 *" as the
string argument.
Add some casts to squelch compiler warnings.
svn path=/trunk/; revision=9951
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r-- | epan/tvbuff.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h index 9a707dfef5..f999be3245 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -9,7 +9,7 @@ * the data of a backing tvbuff, or can be a composite of * other tvbuffs. * - * $Id: tvbuff.h,v 1.38 2004/02/01 06:49:24 jmayer Exp $ + * $Id: tvbuff.h,v 1.39 2004/02/01 21:30:17 guy Exp $ * * Copyright (c) 2000 by Gilbert Ramirez <gram@alumni.rice.edu> * @@ -474,7 +474,7 @@ extern gint tvb_find_line_end_unquoted(tvbuff_t *tvb, gint offset, int len, * Call strncmp after checking if enough chars left, returning 0 if * it returns 0 (meaning "equal") and -1 otherwise, otherwise return -1. */ -extern gint tvb_strneql(tvbuff_t *tvb, gint offset, const guint8 *str, +extern gint tvb_strneql(tvbuff_t *tvb, gint offset, const gchar *str, gint size); /* |