diff --git a/dlls/mapi32/tests/util.c b/dlls/mapi32/tests/util.c index 2ae42f1c814..9645a82a996 100644 --- a/dlls/mapi32/tests/util.c +++ b/dlls/mapi32/tests/util.c @@ -151,7 +151,8 @@ static void test_CbOfEncoded(void) memset(buff, '\0', sizeof(buff)); memset(buff, '?', i); ulRet = pCbOfEncoded(buff); - ok(ulRet == ulExpected, "CbOfEncoded(length %d): expected %d, got %d\n", + ok(ulRet == ulExpected || broken(ulExpected == 0) /* Win9x */, + "CbOfEncoded(length %d): expected %d, got %d\n", i, ulExpected, ulRet); } }