From 99e45b995b0469cf261bdfd83eb00717d1e4f5ba Mon Sep 17 00:00:00 2001 From: Peter LaValle Date: Sun, 31 May 2015 12:56:17 +0100 Subject: [PATCH] fixed warning --- contrib/openddlparser/code/Value.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/openddlparser/code/Value.cpp b/contrib/openddlparser/code/Value.cpp index f94ef081f..cbe28caab 100644 --- a/contrib/openddlparser/code/Value.cpp +++ b/contrib/openddlparser/code/Value.cpp @@ -46,7 +46,7 @@ void Value::setBool( bool value ) { bool Value::getBool() { assert( ddl_bool == m_type ); - return ( bool ) ( *m_data ); + return ( *m_data ) ? true : false; } void Value::setInt8( int8 value ) {