[PATCH 0/1] MR172: dlls/win32u: fix gcc12's warnings (UB)

eric pouech (@epo) wine at gitlab.winehq.org
Thu Jun 2 06:11:11 CDT 2022


this can be done that way too
but I assumed that if Jacek wrote it that way (with a union instead of a unique structure), it was for that intent (I may be wrong)
at the end, this makes 32KB of overallocation (+ file size) and 8 dirty pages instead of 1
not the end of the world, but still

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/172#note_1513



More information about the wine-devel mailing list