mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-24 00:54:18 +08:00
use 0x01UL for shift
This commit is contained in:
@@ -639,14 +639,14 @@ AlertDesktopTimerEvent (void)
|
||||
static inline void
|
||||
SetMsgQueueTimerFlag (PMSGQUEUE pMsgQueue, int slot)
|
||||
{
|
||||
pMsgQueue->TimerMask |= (0x01 << slot);
|
||||
pMsgQueue->TimerMask |= (0x01UL << slot);
|
||||
POST_MSGQ (pMsgQueue);
|
||||
}
|
||||
|
||||
static inline void
|
||||
RemoveMsgQueueTimerFlag (PMSGQUEUE pMsgQueue, int slot)
|
||||
{
|
||||
pMsgQueue->TimerMask &= ~(0x01 << slot);
|
||||
pMsgQueue->TimerMask &= ~(0x01UL << slot);
|
||||
}
|
||||
|
||||
BOOL mg_InitTimer (void);
|
||||
|
||||
Reference in New Issue
Block a user