quiet some sign-conversion-in-parameter warnings
This commit is contained in:
parent
ab4a785f1b
commit
e6c15e993b
|
@ -367,7 +367,7 @@ unsigned int NetPlayServer::OnDisconnect(const Client& player)
|
|||
sf::Packet spac;
|
||||
spac << (MessageId)NP_MSG_DISABLE_GAME;
|
||||
// this thread doesn't need players lock
|
||||
SendToClients(spac, -1);
|
||||
SendToClients(spac, static_cast<PlayerId>(-1));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -353,7 +353,7 @@ void RunGpuLoop()
|
|||
DataReader(s_video_buffer_read_ptr, write_ptr), &cyclesExecuted, false);
|
||||
|
||||
Common::AtomicStore(fifo.CPReadPointer, readPtr);
|
||||
Common::AtomicAdd(fifo.CPReadWriteDistance, -32);
|
||||
Common::AtomicAdd(fifo.CPReadWriteDistance, static_cast<u32>(-32));
|
||||
if ((write_ptr - s_video_buffer_read_ptr) == 0)
|
||||
Common::AtomicStore(fifo.SafeCPReadPointer, fifo.CPReadPointer);
|
||||
|
||||
|
|
Loading…
Reference in New Issue