You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Add 64-bit versions of core power of 2 functions
This commit is contained in:
@@ -200,7 +200,7 @@ Error PacketPeerUDP::bind(int p_port, const IPAddress &p_bind_address, int p_rec
|
||||
_sock->close();
|
||||
return err;
|
||||
}
|
||||
rb.resize(nearest_shift(p_recv_buffer_size));
|
||||
rb.resize(nearest_shift((uint32_t)p_recv_buffer_size));
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user