ole32: Fix an invalid usage of InterlockedCompareExchange.

Sebastian Lackner sebastian at fds-team.de
Mon Mar 2 22:44:32 CST 2015


The result of InterlockedCompareExchange is compared against the new value instead of the old value.
No critical issue, but it needs two loops until it finally finishes instead of one. 

---
 dlls/ole32/marshal.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ole32-Fix-an-invalid-usage-of-InterlockedCompareExch.patch
Type: text/x-patch
Size: 1487 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150303/8f4cd056/attachment.bin>


More information about the wine-patches mailing list