From 76385013d07e4b01704970d5b18e2b63833fa362 Mon Sep 17 00:00:00 2001 From: kimmi Date: Thu, 24 Dec 2009 11:56:35 +0000 Subject: [PATCH] BUGFIX: Fix compiler warning: suggest parthesis. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@522 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/ParsingUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ParsingUtils.h b/code/ParsingUtils.h index 87653e2a6..2437fe071 100644 --- a/code/ParsingUtils.h +++ b/code/ParsingUtils.h @@ -131,7 +131,7 @@ inline bool GetNextLine(const char_t*& buffer, char_t out[4096]) template 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)