Am 16.11.2011 22:17, schrieb tfaber@svn.reactos.org:
Author: tfaber Date: Wed Nov 16 21:17:38 2011 New Revision: 54401
URL: http://svn.reactos.org/svn/reactos?rev=54401&view=rev Log: [ATL] - Fix buffer overflow in CComDynamicUnkArray::Add. Found by Coverity (CID 2474) [NDK] - Remove meaningless const attribute from pointer rvalues to make Coverity's life easier
-#define SharedUserData ((KUSER_SHARED_DATA *CONST)USER_SHARED_DATA) +#define SharedUserData ((KUSER_SHARED_DATA *)USER_SHARED_DATA)
It is like this (with the const) in wdm.h
#define SharedUserData ((KUSER_SHARED_DATA * const) KI_USER_SHARED_DATA)
maybe its supposed to express that "SharedUserData" is a constant and not a variable... although that doesn't make much sense