[PATCH] kernel32/tests: Avoid arithmetic on pointer to stack variable.

Jacek Caban jacek at codeweavers.com
Mon Apr 20 07:13:40 CDT 2020


Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---

Fixes GCC warning:
virtual.c:2869:56: error: array subscript -1 is outside array bounds of 
‘DWORD[1]’ {aka ‘unsigned int[1]’}

  dlls/kernel32/tests/virtual.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-kernel32-tests-Avoid-arithmetic-on-pointer-to-stack-va.txt
Type: text/x-patch
Size: 869 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200420/1e30b7ac/attachment.bin>


More information about the wine-devel mailing list