mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
Remove some redundant casts and fix rct_sprite::AsDuck()
This commit is contained in:
committed by
GitHub
parent
c8c9bf70a7
commit
d481cca2ed
@@ -363,7 +363,7 @@ public:
|
||||
{
|
||||
const char * bufferStart = (const char *)buffer + totalSent;
|
||||
size_t remainingSize = size - totalSent;
|
||||
sint32 sentBytes = send(_socket, (const char *)bufferStart, (sint32)remainingSize, FLAG_NO_PIPE);
|
||||
sint32 sentBytes = send(_socket, bufferStart, (sint32)remainingSize, FLAG_NO_PIPE);
|
||||
if (sentBytes == SOCKET_ERROR)
|
||||
{
|
||||
return totalSent;
|
||||
|
||||
Reference in New Issue
Block a user