quiet compiler warning
authorCampbell Barton <ideasman42@gmail.com>
Thu, 14 Jun 2012 10:54:14 +0000 (10:54 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 14 Jun 2012 10:54:14 +0000 (10:54 +0000)
extern/recastnavigation/Recast/Include/RecastAssert.h

index b58b8fcd286946a984cecf1da1f252a0d053dab7..45cb01fb595d39852e3ed2af0ad49a328c8bc46f 100644 (file)
@@ -24,7 +24,7 @@
 
 #ifdef NDEBUG
 // From http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/
-#      define rcAssert(x) do { (void)sizeof(x); } while(__LINE__==-1,false)  
+#      define rcAssert(x) do { (void)sizeof(x); } while((void)(__LINE__ == -1), false)
 #else
 #      include <assert.h> 
 #      define rcAssert assert