Commit b42c593f authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

kernel32: Fixed mismatched bracket (Coverity).

parent c4337f1e
......@@ -927,7 +927,7 @@ static void test_LoopbackRead(HANDLE hcom)
i=0;
do
{
res = ReadFile(hcom, rbuf+read, sizeof(rbuf-read), &read1, NULL);
res = ReadFile(hcom, rbuf+read, sizeof(rbuf)-read, &read1, NULL);
ok(res, "Readfile failed\n");
read += read1;
i++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment