Paul Vriens : ole32/tests: Fix some test failures on Win9x/WinME.

Alexandre Julliard julliard at winehq.org
Thu Jul 2 08:25:10 CDT 2009


Module: wine
Branch: master
Commit: fb0275dd3148a098967f5959adb57ebe41a4383e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fb0275dd3148a098967f5959adb57ebe41a4383e

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Thu Jul  2 14:00:05 2009 +0200

ole32/tests: Fix some test failures on Win9x/WinME.

---

 dlls/ole32/tests/marshal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/tests/marshal.c b/dlls/ole32/tests/marshal.c
index dacb7b6..7e3ff40 100644
--- a/dlls/ole32/tests/marshal.c
+++ b/dlls/ole32/tests/marshal.c
@@ -2071,7 +2071,7 @@ static void test_freethreadedmarshaldata(IStream *pStream, MSHCTX mshctx, void *
     {
         DWORD expected_size = round_global_size(3*sizeof(DWORD) + sizeof(GUID));
         ok(size == expected_size ||
-           broken(size == round_global_size(2*sizeof(DWORD))) /* Win9x & NT4 */,
+           broken(size == (2*sizeof(DWORD))) /* Win9x & NT4 */,
            "size should have been %d instead of %d\n", expected_size, size);
 
         ok(*(DWORD *)marshal_data == mshlflags, "expected 0x%x, but got 0x%x for mshctx\n", mshlflags, *(DWORD *)marshal_data);




More information about the wine-cvs mailing list