• Eric Pouech's avatar
    msvcr90: Fix warning on object access tests. · 565ce829
    Eric Pouech authored
    GCC 12 complains about accessing a too small object.
    
    In function 'test__AdjustPointer',
        inlined from 'func_msvcr90' at wine/dlls/msvcr90/tests/msvcr90.c:2515:5:
    wine/dlls/msvcr90/tests/msvcr90.c:1556:30: warning: array subscript 30 is outside array bounds of 'void[8]' [-Warray-bounds]
     1556 |         {&obj1, (char*)&obj1 + obj.off, {0, 0, 0}},
          |                 ~~~~~~~~~~~~~^~~~~~~~~
    
    Since we're only checking the addresses and not the underlying objects,
    use uintptr_t instead of pointers.
    Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com>
    565ce829
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...