12 Sep
2024
12 Sep
'24
8:37 a.m.
On Thu Sep 12 08:31:57 2024 +0000, Dmitry Timoshkov wrote:
Of course it's the same thing, hence the suggestion. It's clearly wrong to assign a signed value to a variable of an unsigned type. Well, if you want to be absolutely strict, ~0 is still signed, so you have to use ~0u (which is inconvenient because then you have to use the exactly right suffix for the variable type).
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6482#note_82002