Author: akhaldi
Date: Sat Aug 30 12:03:58 2014
New Revision: 63988
URL:
http://svn.reactos.org/svn/reactos?rev=63988&view=rev
Log:
[W32KNAPI_APITEST]
* Fix a memset call. CID 1223160.
CORE-7975
Modified:
trunk/rostests/apitests/w32knapi/ntgdi/NtGdiCreateDIBSection.c
Modified: trunk/rostests/apitests/w32knapi/ntgdi/NtGdiCreateDIBSection.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/w32knapi/ntgdi/N…
==============================================================================
--- trunk/rostests/apitests/w32knapi/ntgdi/NtGdiCreateDIBSection.c [iso-8859-1]
(original)
+++ trunk/rostests/apitests/w32knapi/ntgdi/NtGdiCreateDIBSection.c [iso-8859-1] Sat Aug 30
12:03:58 2014
@@ -417,7 +417,7 @@
pbV5h->bV5BlueMask = 0;
pbV5h->bV5AlphaMask = 0;
pbV5h->bV5CSType = 0;
- memset(&pbV5h->bV5Endpoints, sizeof(CIEXYZTRIPLE), 0);
+ memset(&pbV5h->bV5Endpoints, 0, sizeof(CIEXYZTRIPLE));
pbV5h->bV5GammaRed = 0;
pbV5h->bV5GammaGreen = 0;
pbV5h->bV5GammaBlue = 0;