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:
parent
c48ceafc15
commit
0ee2f761ae
@ -70,7 +70,7 @@ public:
|
||||
// Acquire the place for one or more elements.
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user