From b42c593f67e524034dbd07b38e1c5343260ed57b Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 23 Feb 2011 05:21:42 +0100 Subject: [PATCH] kernel32: Fixed mismatched bracket (Coverity). --- dlls/kernel32/tests/comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel32/tests/comm.c b/dlls/kernel32/tests/comm.c index f20bd4ecd99..322c2ca24ce 100644 --- a/dlls/kernel32/tests/comm.c +++ b/dlls/kernel32/tests/comm.c @@ -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++;