BUGFIX: Fix compiler warning: suggest parthesis.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@522 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
kimmi 2009-12-24 11:56:35 +00:00
parent 408b6b2d74
commit 76385013d0
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ inline bool GetNextLine(const char_t*& buffer, char_t out[4096])
template <class char_t> template <class char_t>
AI_FORCE_INLINE bool IsNumeric( char_t in) AI_FORCE_INLINE bool IsNumeric( char_t in)
{ {
return in >= '0' && in <= '9' || '-' == in || '+' == in; return ( in >= '0' && in <= '9' ) || '-' == in || '+' == in;
} }
// --------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------
AI_FORCE_INLINE bool TokenMatch(char*& in, const char* token, unsigned int len) AI_FORCE_INLINE bool TokenMatch(char*& in, const char* token, unsigned int len)