From 80ddd5317c92ceb34ff3009907f5aff7c5d73106 Mon Sep 17 00:00:00 2001 From: arif Date: Wed, 16 Mar 2011 17:48:30 +0000 Subject: [PATCH] for utf-8 compatibility some chars should be converted to unsigned chars. I changed one function critical for WIN32 but this requires more attention and clean up later on. --- lib/graph/lexer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/graph/lexer.c b/lib/graph/lexer.c index d2f053ee4..b142fb32e 100644 --- a/lib/graph/lexer.c +++ b/lib/graph/lexer.c @@ -133,9 +133,9 @@ static char *skip_wscomments(char *pp) } /* scan an unquoted token and return the position after its terminator */ -static char *scan_token(char *p, char *token) +static char *scan_token(unsigned char *p, unsigned char *token) { - char *q; + unsigned char *q; q = token; if (p == '\0') -- 2.40.0