[W32KNAPI_APITEST]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 30 Aug 2014 12:05:36 +0000 (12:05 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 30 Aug 2014 12:05:36 +0000 (12:05 +0000)
* Here's another memset call..

svn path=/trunk/; revision=63989

rostests/apitests/w32knapi/ntgdi/NtGdiCreateDIBSection.c

index 04b3ba6..0b41a6f 100644 (file)
@@ -381,7 +381,7 @@ printf("dib with bitfileds: %p\n", hbmp);
     pbV4h->bV4BlueMask = 0;
     pbV4h->bV4AlphaMask = 0;
     pbV4h->bV4CSType = 0;
-    memset(&pbV4h->bV4Endpoints, sizeof(CIEXYZTRIPLE), 0);
+    memset(&pbV4h->bV4Endpoints, 0, sizeof(CIEXYZTRIPLE));
     pbV4h->bV4GammaRed = 0;
     pbV4h->bV4GammaGreen = 0;
     pbV4h->bV4GammaBlue = 0;