• 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
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...