riched20/tests: Fix test on 64-bit win8.
This commit is contained in:
parent
60e305d983
commit
ef072b1eb2
|
@ -3412,7 +3412,7 @@ static DWORD CALLBACK test_esCallback_written_1(DWORD_PTR dwCookie,
|
||||||
LONG *pcb)
|
LONG *pcb)
|
||||||
{
|
{
|
||||||
char** str = (char**)dwCookie;
|
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;
|
*pcb = 0;
|
||||||
if (cb > 0) {
|
if (cb > 0) {
|
||||||
memcpy(*str, pbBuff, cb);
|
memcpy(*str, pbBuff, cb);
|
||||||
|
|
Loading…
Reference in New Issue