aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/cosine.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-08-06 00:59:15 +0000
committerGuy Harris <guy@alum.mit.edu>2002-08-06 00:59:15 +0000
commitee623d5b73c3530bdbdf2503fba1b897ee80fde8 (patch)
treeb0c576d1e1c2352b3c9b8001aeae9e56149cc18c /wiretap/cosine.c
parentb9e44d4a357fb7392c2549f6c834f4cf688a5b6b (diff)
Make the argument to "empty_line()" a "const guchar *", so we don't have
to worry about characters with the 8th bit set being sign-extended. svn path=/trunk/; revision=5953
Diffstat (limited to 'wiretap/cosine.c')
-rw-r--r--wiretap/cosine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/cosine.c b/wiretap/cosine.c
index 328c810a74..42087ba386 100644
--- a/wiretap/cosine.c
+++ b/wiretap/cosine.c
@@ -1,6 +1,6 @@
/* cosine.c
*
- * $Id: cosine.c,v 1.1 2002/07/31 19:27:56 guy Exp $
+ * $Id: cosine.c,v 1.2 2002/08/06 00:59:15 guy Exp $
*
* CoSine IPNOS L2 debug output parsing
* Copyright (c) 2002 by Motonori Shindo <mshindo@mshindo.net>
@@ -185,7 +185,7 @@ static int parse_single_hex_dump_line(char* rec, guint8 *buf,
/* Returns TRUE if the line appears to be an empty line. Otherwise it
returns FALSE. */
-static gboolean empty_line(const char *line)
+static gboolean empty_line(const guchar *line)
{
while (*line) {
if (isspace(*line)) {