From d1dee3c9092b7c270b297366757c9fc8d03bb0dd Mon Sep 17 00:00:00 2001 From: Mattes D Date: Tue, 2 Aug 2016 13:12:34 +0200 Subject: Fixed RasPi builds of unit tests. On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled. Enforced the assumption that ASSERT code is generated only in Debug builds. --- src/Defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Defines.h') diff --git a/src/Defines.h b/src/Defines.h index 13049ce4f..615beeabd 100644 --- a/src/Defines.h +++ b/src/Defines.h @@ -203,7 +203,7 @@ enum eMobHeadRotation -inline const char * ClickActionToString(eClickAction a_ClickAction) +inline const char * ClickActionToString(int a_ClickAction) { switch (a_ClickAction) { -- cgit v1.2.3