X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=client%2Fclient.c;h=6b86e8c4e65c4c5a39ebe80c83fae7e81685dc3a;hp=f0cab9b7b5d2f1313f48fd286bf80d9f5ee18a7c;hb=2b17f66a25f1e9cf6e6a072736ea4459eefcc2b8;hpb=c9408db23d24baece38e05035864f933ea5ea071 diff --git a/client/client.c b/client/client.c index f0cab9b..6b86e8c 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2004, Index Data * See the file LICENSE for details. * - * $Id: client.c,v 1.246 2004-08-11 11:44:30 adam Exp $ + * $Id: client.c,v 1.247 2004-08-13 11:36:48 adam Exp $ */ #include @@ -3212,7 +3212,7 @@ int cmd_register_oid(const char* args) { name = oid_str; val = 0; - while (isdigit (*name)) + while (isdigit (*(unsigned char *) name)) { val = val*10 + (*name - '0'); name++; @@ -3972,11 +3972,11 @@ void process_cmd_line(char* line) /* removed tailing spaces from the arg command */ { - unsigned char* p = arg; + char* p = arg; char* lastnonspace=NULL; for(;*p; ++p) { - if(!isspace(*p)) { + if(!isspace(*(unsigned char *) p)) { lastnonspace = p; } }