reactos/win32ss/user
Timo Kreuzer b385fc5985 [NTUSER] Fix a 64 bit bug in timer code
The return value of RtlFindClearBitsAndSet is an ULONG, assigning it to an ULONG_PTR will not sign extend it. The error value will stay 0xFFFFFFFF. Comparing it to (UINT_PTR)-1 will sign extend and thus compare it to 0xFFFFFFFFFFFFFFFF on x64.
Also use NUM_WINDOW_LESS_TIMERS to initialize the bitmap, rather than the calculated size. This does not make a difference with the current value (32768), but if it was not the case, the bitmap would be larger than this, resulting in invalid bitmap indices being returned, which would cause bugs later on. Finally remove an ASSERT that can be triggered by tests.
2024-09-08 01:52:50 +03:00
..
ntuser [NTUSER] Fix a 64 bit bug in timer code 2024-09-08 01:52:50 +03:00
rtl [NTUSER][USER32] Populate dwExpWinVer (#7095) 2024-07-09 04:22:14 +09:00
user32 [TRANSLATION] Improve Italian (it-IT) translation part 2 (#7248) 2024-08-21 01:29:34 +02:00
user32_vista [*_VISTA] Add/Improve version resources 2024-08-13 12:39:42 +02:00
winsrv [CMAKE] Use COMPILE_OPTIONS instead of superseded COMPILE_FLAGS 2024-08-21 11:34:48 +03:00