From c1833ea96345dbfe6f1f7ec0e60242bb2617a3f5 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 29 May 2011 23:24:16 +0200 Subject: [PATCH] mpr: Added missing pointer dereference (Coverity). --- dlls/mpr/wnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mpr/wnet.c b/dlls/mpr/wnet.c index 2c57aaa25be..946f47e74f2 100644 --- a/dlls/mpr/wnet.c +++ b/dlls/mpr/wnet.c @@ -1173,7 +1173,7 @@ static DWORD _enumerateContextW(PWNetEnumerator enumerator, LPDWORD lpcCount, if (ret == WN_SUCCESS) { /* reflect the fact that we already enumerated "Entire Network" */ - lpcCount++; + (*lpcCount)++; *lpBufferSize = bufferSize + bytesNeeded; } else