From 0e811d07101d7961197f46b79d81cf1473728a1b Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 13 Mar 1999 21:27:01 +0000 Subject: [PATCH] unsigned-ify git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5536 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/otp/otp_parse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/otp/otp_parse.c b/lib/otp/otp_parse.c index 0f8bb3e8d..1f62dbe47 100644 --- a/lib/otp/otp_parse.c +++ b/lib/otp/otp_parse.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan + * Copyright (c) 1995, 1996, 1997, 1998, 1999 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -111,11 +111,11 @@ parse_words(unsigned wn[], int (*convert)(char *, void *), void *arg) { - char *w, *wend, c; + unsigned char *w, *wend, c; int i; int tmp; - w = str; + w = (unsigned char *)str; for (i = 0; i < 6; ++i) { while (isspace(*w)) ++w; @@ -124,7 +124,7 @@ parse_words(unsigned wn[], ++wend; c = *wend; *wend = '\0'; - tmp = (*convert)(w, arg); + tmp = (*convert)((char *)w, arg); *wend = c; w = wend; if (tmp < 0)