http://bugs.winehq.org/show_bug.cgi?id=7768
--- Comment #7 from Juan Lang juan_lang@yahoo.com 2009-01-15 13:42:47 --- Created an attachment (id=18715) --> (http://bugs.winehq.org/attachment.cgi?id=18715) Patch
This patch should fix it. The hardcoded 32 value is a potential problem, as: 1) There can be more than 32 processors on a system 2) The type of affinity mask is DWORD_PTR, not unsigned int.
The server protocol needs to be fixed to address the second point, and this is a pretty minor problem, so I'm not super motivated to fix it. I'm uploading this in case someone else cares more.