X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Fmcs51%2Flklibr.c;h=c08b8580d22c4e46274831c27c04088a2b5e3144;hb=195ee3f3ee25ce2c5f2a59fbd2779c4cb80527c3;hp=678eb30301ca9a25e15f59456a62dcb33f7aafc4;hpb=67012d40979fd3584f926cfd9c200ffa4a16d338;p=fw%2Fsdcc diff --git a/as/mcs51/lklibr.c b/as/mcs51/lklibr.c index 678eb303..c08b8580 100644 --- a/as/mcs51/lklibr.c +++ b/as/mcs51/lklibr.c @@ -723,8 +723,8 @@ int fndsym( char *name ) _fullpath(absPath1, FirstFound->libspc, PATH_MAX); _fullpath(absPath2, ThisLibr->libspc, PATH_MAX); - for(j=0; absPath1[j]!=0; j++) absPath1[j]=tolower(absPath1[j]); - for(j=0; absPath2[j]!=0; j++) absPath2[j]=tolower(absPath2[j]); + for(j=0; absPath1[j]!=0; j++) absPath1[j]=tolower((unsigned char)absPath1[j]); + for(j=0; absPath2[j]!=0; j++) absPath2[j]=tolower((unsigned char)absPath2[j]); #else realpath(FirstFound->libspc, absPath1); realpath(ThisLibr->libspc, absPath2);