warnings SUCK

This commit is contained in:
Lily Tsuru 2024-11-23 21:31:15 -05:00
parent 2f2114aca3
commit c373de1571

View file

@ -132,8 +132,8 @@ class cStreamClient {
}
// send header
send(tcpSocket, (const char*)&tile_wire, (int)sizeof(tile_wire), 0);
send(tcpSocket, (const char*)&tileData[0], tileData.size() * 4, 0);
send(tcpSocket, (const char*)&tile_wire, (i32)sizeof(tile_wire), 0);
send(tcpSocket, (const char*)&tileData[0], (i32)tileData.size() * 4, 0);
// send data now
/*for (auto y = tile.y; y < tile.y + tile.height; ++y) {