diff options
Diffstat (limited to 'raul/List.hpp')
-rw-r--r-- | raul/List.hpp | 2 |
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); } |