summaryrefslogtreecommitdiffstats
path: root/raul/SRSWQueue.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'raul/SRSWQueue.hpp')
-rw-r--r--raul/SRSWQueue.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/SRSWQueue.hpp b/raul/SRSWQueue.hpp
index a36efd9..c40738a 100644
--- a/raul/SRSWQueue.hpp
+++ b/raul/SRSWQueue.hpp
@@ -72,7 +72,7 @@ SRSWQueue<T>::SRSWQueue(size_t size)
: _front(0)
, _back(0)
, _size(size+1)
- , _objects((T*)calloc(_size, sizeof(T)))
+ , _objects(static_cast<T*>(calloc(_size, sizeof(T))))
{
assert(size > 1);
}