wintrust/tests: Fix build with MSVC.
Dmitry Timoshkov
dmitry at baikal.ru
Thu Jun 21 05:11:10 CDT 2012
Thomas Faber <thfabba at gmx.de> wrote:
> Empty braces are no valid initializer.
> FIELD_OFFSET isn't constant "enough".
> + /* add 'jmp ExitProcess' instruction */
> + count = 2;
> + bin.text_section[count++] = 0xFF;
> + bin.text_section[count++] = 0x25;
> + bin.text_section[count++] = EXIT_PROCESS&0xFF;
> + bin.text_section[count++] = (EXIT_PROCESS>>8)&0xFF;
> + bin.text_section[count++] = (EXIT_PROCESS>>16)&0xFF;
> + bin.text_section[count++] = (EXIT_PROCESS>>24)&0xFF;
This part of the patch obviously is not related to the patch description.
--
Dmitry.
More information about the wine-devel
mailing list