[Bf-blender-cvs] [a6e2901] master: Quiet warning

Campbell Barton noreply at git.blender.org
Mon Jun 16 18:08:37 CEST 2014


Commit: a6e290166b7565d5e70309d8e41fbc267321b551
Author: Campbell Barton
Date:   Tue Jun 17 02:08:10 2014 +1000
https://developer.blender.org/rBa6e290166b7565d5e70309d8e41fbc267321b551

Quiet warning

===================================================================

M	source/blender/blenlib/intern/polyfill2d.c

===================================================================

diff --git a/source/blender/blenlib/intern/polyfill2d.c b/source/blender/blenlib/intern/polyfill2d.c
index 30d1ab4..c718902 100644
--- a/source/blender/blenlib/intern/polyfill2d.c
+++ b/source/blender/blenlib/intern/polyfill2d.c
@@ -235,7 +235,7 @@ static void kdtree2d_init(
 		}
 	}
 
-	BLI_assert(tree->totnode == (node - tree->nodes));
+	BLI_assert(tree->totnode == (unsigned int)(node - tree->nodes));
 }
 
 static unsigned int kdtree2d_balance_recursive(




More information about the Bf-blender-cvs mailing list