• Zebediah Figura's avatar
    win32u: Copy directly into the union pointer in unpack_message(). · c73999f1
    Zebediah Figura authored
    This works around a spurious gcc warning:
    
    ../wine/dlls/win32u/message.c: In function ‘unpack_message.constprop’:
    ../wine/dlls/win32u/message.c:359:9: error: writing 28 bytes into a region of size 4 [-Werror=stringop-overflow=]
      359 |         memcpy( &ps->wp, &wp, sizeof(wp) );
          |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from ../wine/dlls/win32u/win32u_private.h:29,
                     from ../wine/dlls/win32u/message.c:30:
    ../wine/include/ntuser.h:549:15: note: destination object ‘hwnd’ of size 4
      549 |     UINT      hwnd;
          |               ^~~~
    c73999f1
Name
Last commit
Last update
..
dibdrv Loading commit data...
tests Loading commit data...
Makefile.in Loading commit data...
bitblt.c Loading commit data...
bitmap.c Loading commit data...
brush.c Loading commit data...
class.c Loading commit data...
clipboard.c Loading commit data...
clipping.c Loading commit data...
cursoricon.c Loading commit data...
dc.c Loading commit data...
dce.c Loading commit data...
defwnd.c Loading commit data...
dib.c Loading commit data...
driver.c Loading commit data...
emfdrv.c Loading commit data...
font.c Loading commit data...
freetype.c Loading commit data...
gdiobj.c Loading commit data...
hook.c Loading commit data...
imm.c Loading commit data...
input.c Loading commit data...
main.c Loading commit data...
mapping.c Loading commit data...
menu.c Loading commit data...
message.c Loading commit data...
ntgdi_private.h Loading commit data...
ntuser_private.h Loading commit data...
opentype.c Loading commit data...
painting.c Loading commit data...
palette.c Loading commit data...
path.c Loading commit data...
pen.c Loading commit data...
printdrv.c Loading commit data...
rawinput.c Loading commit data...
region.c Loading commit data...
scroll.c Loading commit data...
spy.c Loading commit data...
syscall.c Loading commit data...
sysparams.c Loading commit data...
vertical.c Loading commit data...
vulkan.c Loading commit data...
win32u.spec Loading commit data...
win32u_private.h Loading commit data...
window.c Loading commit data...
winstation.c Loading commit data...
wrappers.c Loading commit data...