X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Foid_util.c;h=6158d3cef3ac5d262def2ec6ef9782f40ecbcfe5;hp=cea66fbe65590e47c2d5a09df2c91cda83a0baf8;hb=4f3bcae93d51a26709c12b51261c3d95af610cb2;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c diff --git a/src/oid_util.c b/src/oid_util.c index cea66fb..6158d3c 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-2009 Index Data + * Copyright (C) 1995-2011 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++;