From b8f87a5b55387ad7b698742dcfcc1bc93538a053 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 5 Feb 2010 21:19:56 +0000 Subject: Convert C-style casts to C++ style casts. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2432 a436a847-0d15-0410-975c-d299462d15a1 --- raul/List.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'raul/List.hpp') diff --git a/raul/List.hpp b/raul/List.hpp index 764d684..3a55136 100644 --- a/raul/List.hpp +++ b/raul/List.hpp @@ -90,7 +90,7 @@ public: void clear(); /// Valid only in the write thread - unsigned size() const { return (unsigned)_size.get(); } + unsigned size() const { return static_cast(_size.get()); } /// Valid for any thread bool empty() { return (_head.get() == NULL); } -- cgit v1.2.1