On Fri, 14 Mar 2014 20:22:10 +0100, Stephen Kitt <skitt@debian.org> wrote: > On Fri, 14 Mar 2014 09:27:00 +0100, Mathieu Malaterre <malat@debian.org> > wrote: > > $ i686-w64-mingw32-gcc t.c > > $ wine32 a.exe > > value=0x0 > > This is actually a bug in Wine; if you run your executable on Windows it > will give the correct output. BTW you can get the correct output in Wine by using the MinGW-w64-provided version of printf: % i686-w64-mingw32-gcc -D__USE_MINGW_ANSI_STDIO=1 t.c % wine32 a.exe value=0 Regards, Stephen
Attachment:
signature.asc
Description: PGP signature