X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=recctrl%2Fmarcomp.c;h=23b4044edc274b3c7d32cccbdb8b09a03ed7f256;hb=9b9f570a2960c2c8a7026b2faee943794b08ce49;hp=686789783652e5e0abbe4c1556759221ffa3cbff;hpb=36403af0892015e79516d8cfc954d6f79f8ce1ca;p=idzebra-moved-to-github.git diff --git a/recctrl/marcomp.c b/recctrl/marcomp.c index 6867897..23b4044 100644 --- a/recctrl/marcomp.c +++ b/recctrl/marcomp.c @@ -1,5 +1,5 @@ /* - $Id: marcomp.c,v 1.2 2003-02-28 14:34:37 adam Exp $ + $Id: marcomp.c,v 1.5 2005-01-03 19:27:53 adam Exp $ marcomp.c - compiler of MARC statements. */ @@ -88,7 +88,8 @@ mc_token mc_gettoken(mc_context *c) case '[': c->crrtok = LINTERVAL; break; case ']': c->crrtok = RINTERVAL; break; default: - if (isspace(*(c->data+c->offset)) || *(c->data+c->offset) == '\n') + if (isspace(*(unsigned char *) (c->data+c->offset)) + || *(c->data+c->offset) == '\n') { c->crrtok = NOP; }