diff --git a/alib2common/src/abstraction/PrimitiveRegistrator.cpp b/alib2common/src/abstraction/PrimitiveRegistrator.cpp
index de686e144c3d342282ce7f3b3a8beef7b389bd70..5fbad94d47c30aa26bef15bc56d76c1a0cb22396 100644
--- a/alib2common/src/abstraction/PrimitiveRegistrator.cpp
+++ b/alib2common/src/abstraction/PrimitiveRegistrator.cpp
@@ -28,9 +28,10 @@ public:
 		abstraction::CastRegistry::registerCast < int, double > ( false );
 
 		abstraction::CastRegistry::registerCastAlgorithm < std::string, int > ( ext::to_string, false );
-		abstraction::CastRegistry::registerCastAlgorithm < int, std::string > ( (int(*)(std::string)) ext::from_string < int >, false );
+		abstraction::CastRegistry::registerCastAlgorithm < int, std::string > ( ( int ( * ) ( std::string ) ) ext::from_string < int >, false );
 
 		abstraction::CastRegistry::registerCast < bool, int > ( false );
+		abstraction::CastRegistry::registerCastAlgorithm < bool, std::string > ( ( bool ( * ) ( std::string ) ) ext::from_string < bool >, false );
 
 		abstraction::CastRegistry::registerCast < size_t, int > ( "size_t", ext::to_string < int > ( ), false );
 		abstraction::CastRegistry::registerCast < size_t, int > ( false );