--- xmil/common/milstr.c 2004/08/01 05:31:29 1.1 +++ 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; } @@ -569,14 +569,14 @@ char * STRCALL milutf8_chr(const char *s // ---- other -int STRCALL milstr_extendcmp(const char *str, const char *cmp) { +int STRCALL milstr_extendcmp(const OEMCHAR *str, const OEMCHAR *cmp) { int c; int s; do { while(1) { - c = (BYTE)*cmp++; + c = (UINT8)*cmp++; if (!c) { return(0); } @@ -653,7 +653,7 @@ long STRCALL milstr_solveHEX(const OEMCH long ret; int i; - char c; + OEMCHAR c; ret = 0; for (i=0; i<8; i++) {