X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Fz80%2Fassym.c;h=04cbc7da501abfc14679ee70123e6b43bccec494;hb=7292ed2fd87dfb835bba73d12e3140321fcfdff4;hp=f57f5f994519c5ef33c51b556b5003b57bc3ed4f;hpb=dd06be05fb5010dc89e1fab6fcfa2c906f66d815;p=fw%2Fsdcc diff --git a/as/z80/assym.c b/as/z80/assym.c index f57f5f99..04cbc7da 100644 --- a/as/z80/assym.c +++ b/as/z80/assym.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include "asm.h" /*)Module assym.c @@ -353,7 +353,7 @@ register char *p1, *p2; if (*p1++ != *p2++) return (0); #else - if (ccase[*p1++] != ccase[*p2++]) + if (ccase[(unsigned char)(*p1++)] != ccase[(unsigned char)(*p2++)]) return (0); #endif @@ -396,7 +396,7 @@ register char *p; #if CASE_SENSITIVE h += *p++; #else - h += ccase[*p++]; + h += ccase[(unsigned char)(*p++)]; #endif } while (--n);