From ee623d5b73c3530bdbdf2503fba1b897ee80fde8 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 6 Aug 2002 00:59:15 +0000 Subject: 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 --- wiretap/cosine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wiretap/cosine.c') 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 @@ -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)) { -- cgit v1.2.1