summaryrefslogtreecommitdiff
path: root/epan/tvbuff.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-02-01 21:30:17 +0000
committerGuy Harris <guy@alum.mit.edu>2004-02-01 21:30:17 +0000
commit87b219554ea7dd1c88d90d1b1961d57cdba0f5bc (patch)
tree2756d8488627df166d28cc7a4acb9d5e51678ba4 /epan/tvbuff.h
parent650a8c3100afe642bc8b2299cb64c13db1272483 (diff)
downloadwireshark-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.h4
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);
/*