eliminate silly warning

This commit is contained in:
David Rose 2003-03-31 18:56:44 +00:00
parent 7f7b24fabc
commit 86ec5c029c

View File

@ -334,7 +334,8 @@ unicode_isdigit(int character) {
// The digits aren't actually listed in the map.
return (character >= '0' && character <= '9');
}
return isdigit(entry->_ascii_equiv);
// This silly test (!= 0) is necessary to prevent a VC++ warning.
return (isdigit(entry->_ascii_equiv) != 0);
}
////////////////////////////////////////////////////////////////////