X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=6b86e8c4e65c4c5a39ebe80c83fae7e81685dc3a;hb=2b17f66a25f1e9cf6e6a072736ea4459eefcc2b8;hp=09ab220f70e213dca4ca4b1f7e87be9d0895da46;hpb=74b2585ecf03192ddc7cf9796634b9cde008ec8b;p=yaz-moved-to-github.git diff --git a/client/client.c b/client/client.c index 09ab220..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.245 2004-07-30 08:37:52 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++; @@ -3976,7 +3976,7 @@ void process_cmd_line(char* line) char* lastnonspace=NULL; for(;*p; ++p) { - if(!isspace(*p)) { + if(!isspace(*(unsigned char *) p)) { lastnonspace = p; } }