medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit e88f21fefaa8b90521607eb6662458e4766a9925
parent 53d99b9442f363ded9934019d85a87f87a41ba23
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Nov 19 23:41:48 +0200

MSVC warnings

Diffstat:
btt.cc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/btt.cc b/btt.cc @@ -88,7 +88,7 @@ static void btt_build( v2s32 mid = ( v0 + v2 ) / 2; if( !node->left ) { - ASSERT( !node->right ); + ASSERT( node->right == NULL ); if( btt_should_split( hm, v0, v1, v2, mid ) ) { btt_split( arena, node ); @@ -96,7 +96,7 @@ static void btt_build( } if( node->left ) { - ASSERT( node->right ); + ASSERT( node->right != NULL ); btt_build( hm, arena, node->left, v1, mid, v0 ); btt_build( hm, arena, node->right, v2, mid, v1 );