1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Fix warning in lf_fifo<>::push_begin()

This commit is contained in:
Nekotekina 2020-02-18 14:59:11 +03:00
parent c48ceafc15
commit 0ee2f761ae

View File

@ -70,7 +70,7 @@ public:
// Acquire the place for one or more elements. // Acquire the place for one or more elements.
u32 push_begin(u32 count = 1) u32 push_begin(u32 count = 1)
{ {
return m_ctrl.fetch_add(count); return static_cast<u32>(m_ctrl.fetch_add(count));
} }
// Get current "pop" position // Get current "pop" position