don't assume char is signed

MFC after:	1 week
This commit is contained in:
sam 2005-12-21 00:19:08 +00:00
parent e7c716076b
commit e85a8a3184

View File

@ -1533,7 +1533,7 @@ usf_enc_ie_ident(usf, ie, tbl)
*/
cp = (char *) ((intptr_t)ie + tbl[i].f_offs);
if (tbl[i].len == 0) {
if ((*cp == T_NO || *cp == T_ATM_ABSENT))
if ((*cp == T_NO || *(int8_t *)cp == T_ATM_ABSENT))
continue;
} else {
switch (tbl[i].f_size) {