[2/2] gdi32/tests: fix MSVC build in bitmap.c
Thomas Faber
thfabba at gmx.de
Tue Oct 4 12:23:11 CDT 2011
This one removes uses of Variable Length Arrays for BITMAPINFO structures.
While FIELD_OFFSET() may seem constant, it is not considered so by the
compiler (or standard).
I've replaced the uses of this with HeapAlloc/HeapFree.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-2-2-gdi32-tests-fix-MSVC-build-in-bitmap.c.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111004/de32c940/attachment.ksh>
More information about the wine-patches
mailing list