summaryrefslogtreecommitdiffstats
path: root/raul/List.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-05 21:19:56 +0000
committerDavid Robillard <d@drobilla.net>2010-02-05 21:19:56 +0000
commitb8f87a5b55387ad7b698742dcfcc1bc93538a053 (patch)
tree548fee2a6726a26f7592b9715b260be1bc4fe58c /raul/List.hpp
parentcd70cc69937afca55dcdae75578bcdd23605eb64 (diff)
downloadraul-b8f87a5b55387ad7b698742dcfcc1bc93538a053.tar.gz
raul-b8f87a5b55387ad7b698742dcfcc1bc93538a053.tar.bz2
raul-b8f87a5b55387ad7b698742dcfcc1bc93538a053.zip
Convert C-style casts to C++ style casts.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2432 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul/List.hpp')
-rw-r--r--raul/List.hpp2
1 files changed, 1 insertions, 1 deletions
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<unsigned>(_size.get()); }
/// Valid for any thread
bool empty() { return (_head.get() == NULL); }