msi/tests: Avoid size_t in traces.

This commit is contained in:
Alexandre Julliard 2009-03-26 14:01:26 +01:00
parent 4aa98e030e
commit 836d9af1be
1 changed files with 2 additions and 2 deletions

View File

@ -7771,7 +7771,7 @@ static void test_MsiEnumPatchesEx_usermanaged(LPCSTR usersid, LPCSTR expectedsid
ok(context == MSIINSTALLCONTEXT_USERMANAGED,
"Expected MSIINSTALLCONTEXT_USERMANAGED, got %d\n", context);
ok(size == lstrlenA(expectedsid) * sizeof(WCHAR),
"Expected %d, got %d\n", lstrlenA(expectedsid) * sizeof(WCHAR), size);
"Expected %d*sizeof(WCHAR), got %d\n", lstrlenA(expectedsid), size);
/* pcchTargetUserSid is exactly the length of szTargetUserSid */
lstrcpyA(patchcode, "apple");
@ -7792,7 +7792,7 @@ static void test_MsiEnumPatchesEx_usermanaged(LPCSTR usersid, LPCSTR expectedsid
ok(!strncmp(targetsid, expectedsid, lstrlenA(expectedsid) - 1),
"Expected \"%s\", got \"%s\"\n", expectedsid, targetsid);
ok(size == lstrlenA(expectedsid) * sizeof(WCHAR),
"Expected %d, got %d\n", lstrlenA(expectedsid) * sizeof(WCHAR), size);
"Expected %d*sizeof(WCHAR), got %d\n", lstrlenA(expectedsid), size);
/* pcchTargetUserSid has enough room for NULL terminator */
lstrcpyA(patchcode, "apple");