mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
eliminate silly warning
This commit is contained in:
parent
7f7b24fabc
commit
86ec5c029c
@ -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);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user