1
0
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:
Michael Steenbeek
2018-02-15 13:04:25 +01:00
committed by GitHub
parent c8c9bf70a7
commit d481cca2ed
15 changed files with 33 additions and 35 deletions

View File

@@ -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;