mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
Do a pass of compiler warning fixes.
This is really making me question not using 64-bit integers more.
This commit is contained in:
parent
243e1d8462
commit
58240fdb33
21 changed files with 89 additions and 84 deletions
|
@ -516,7 +516,7 @@ void WSClientConnection::post_paint_message(WSWindow& window)
|
|||
message.paint.window_size = window.size();
|
||||
ByteBuffer extra_data;
|
||||
if (rects.size() > WSAPI_ServerMessage::max_inline_rect_count)
|
||||
extra_data = ByteBuffer::wrap((void*)&rects[WSAPI_ServerMessage::max_inline_rect_count], (rects.size() - WSAPI_ServerMessage::max_inline_rect_count) * sizeof(WSAPI_Rect));
|
||||
extra_data = ByteBuffer::wrap(&rects[WSAPI_ServerMessage::max_inline_rect_count], (rects.size() - WSAPI_ServerMessage::max_inline_rect_count) * sizeof(WSAPI_Rect));
|
||||
post_message(message, extra_data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue