summaryrefslogtreecommitdiffstats
path: root/raul/List.hpp
diff options
context:
space:
mode:
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); }