mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 18:45:08 +00:00
More moving towards using signed types.
I'm still feeling this out, but I am starting to like the general idea.
This commit is contained in:
parent
beda478821
commit
9624b54703
48 changed files with 234 additions and 250 deletions
|
@ -426,7 +426,7 @@ bool GEventLoop::wait_for_specific_event(WSAPI_ServerMessage::Type type, WSAPI_S
|
|||
bool success = drain_messages_from_server();
|
||||
if (!success)
|
||||
return false;
|
||||
for (size_t i = 0; i < m_unprocessed_messages.size(); ++i) {
|
||||
for (ssize_t i = 0; i < m_unprocessed_messages.size(); ++i) {
|
||||
if (m_unprocessed_messages[i].type == type) {
|
||||
event = move(m_unprocessed_messages[i]);
|
||||
m_unprocessed_messages.remove(i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue