--- xmil/common/milstr.c 2004/08/03 12:50:54 1.2 +++ xmil/common/milstr.c 2004/08/13 04:08:33 1.3 @@ -328,7 +328,7 @@ int STRCALL mileuc_memcmp(const char *st if (((c - 'a') & 0xff) < 26) { c -= 0x20; } - s = (BYTE)*str++; + s = (UINT8)*str++; if (((s - 'a') & 0xff) < 26) { s -= 0x20; } @@ -461,7 +461,7 @@ int STRCALL milutf8_cmp(const char *str, if (((s - 'a') & 0xff) < 26) { s -= 0x20; } - c = (BYTE)*cmp++; + c = (UINT8)*cmp++; if (((c - 'a') & 0xff) < 26) { c -= 0x20; } @@ -576,7 +576,7 @@ int STRCALL milstr_extendcmp(const OEMCH do { while(1) { - c = (BYTE)*cmp++; + c = (UINT8)*cmp++; if (!c) { return(0); }