On Fri, 23 May 2025, Takashi Yano wrote: > Nice cache! > Question is: Isn't it better to declare size as SIZE_T rather > than size_t because the 2nd arg (size) of VirtualAlloc() is > declared as SIZE_T? > > Other than that LGTM. If you think size_t is better, please push > as is.
I was on the fence, I didn't see any other usages of SIZE_T nearby. I will change to SIZE_T (since that matches both VirtualAlloc and MEMORY_BASIC_INFORMATION) and push.
