X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Foid_util.c;h=b54d0406a558175f7f5c9989af557a0d84097be1;hb=03dccce903176e61f889b1558834aa5a09f9f8c0;hp=58c3a35c40d04bf62ba3fe1dacdf92da7fc389c4;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35;p=yaz-moved-to-github.git diff --git a/src/oid_util.c b/src/oid_util.c index 58c3a35..b54d040 100644 --- a/src/oid_util.c +++ b/src/oid_util.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ @@ -14,8 +14,8 @@ #include #include -#include +#include #include #include @@ -76,7 +76,7 @@ int oid_dotstring_to_oid(const char *name, Odr_oid *oid) { int i = 0; int val = 0; - while (isdigit (*(unsigned char *) name)) + while (yaz_isdigit (*name)) { val = val*10 + (*name - '0'); name++;