refactor: replace UInt32 with uint32_t

This commit is contained in:
sithlord48
2025-01-10 21:13:19 -05:00
committed by Nick Bolton
parent 27eb83c981
commit 96092df4fc
119 changed files with 684 additions and 684 deletions

View File

@ -80,7 +80,7 @@ void MSWindowsEventQueueBuffer::waitForEvent(double timeout)
MsgWaitForMultipleObjects(0, dummy, FALSE, t, QS_ALLPOSTMESSAGE);
}
IEventQueueBuffer::Type MSWindowsEventQueueBuffer::getEvent(Event &event, UInt32 &dataID)
IEventQueueBuffer::Type MSWindowsEventQueueBuffer::getEvent(Event &event, uint32_t &dataID)
{
// NOTE: QS_ALLINPUT was replaced with QS_ALLPOSTMESSAGE.
//
@ -103,7 +103,7 @@ IEventQueueBuffer::Type MSWindowsEventQueueBuffer::getEvent(Event &event, UInt32
event = Event(Event::kQuit);
return kSystem;
} else if (m_event.message == m_userEvent) {
dataID = static_cast<UInt32>(m_event.wParam);
dataID = static_cast<uint32_t>(m_event.wParam);
return kUser;
} else {
event = Event(Event::kSystem, m_events->getSystemTarget(), &m_event);
@ -111,7 +111,7 @@ IEventQueueBuffer::Type MSWindowsEventQueueBuffer::getEvent(Event &event, UInt32
}
}
bool MSWindowsEventQueueBuffer::addEvent(UInt32 dataID)
bool MSWindowsEventQueueBuffer::addEvent(uint32_t dataID)
{
return (PostThreadMessage(m_thread, m_userEvent, static_cast<WPARAM>(dataID), 0) != 0);
}