riched20/tests: Fix test on 64-bit win8.

This commit is contained in:
Huw Davies 2015-04-17 14:18:36 +01:00 committed by Alexandre Julliard
parent 60e305d983
commit ef072b1eb2
1 changed files with 1 additions and 1 deletions

View File

@ -3412,7 +3412,7 @@ static DWORD CALLBACK test_esCallback_written_1(DWORD_PTR dwCookie,
LONG *pcb)
{
char** str = (char**)dwCookie;
ok(cb == *pcb, "cb %d, *pcb %d\n", cb, *pcb);
ok(*pcb == cb || *pcb == 0, "cb %d, *pcb %d\n", cb, *pcb);
*pcb = 0;
if (cb > 0) {
memcpy(*str, pbBuff, cb);