Author: janderwald
Date: Fri Oct 30 16:36:55 2009
New Revision: 43850
URL:
http://svn.reactos.org/svn/reactos?rev=43850&view=rev
Log:
- Fix a broken cast (x64 compability)
Modified:
trunk/reactos/dll/directx/ksuser/ksuser.c
Modified: trunk/reactos/dll/directx/ksuser/ksuser.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ksuser/ksuser.…
==============================================================================
--- trunk/reactos/dll/directx/ksuser/ksuser.c [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/ksuser/ksuser.c [iso-8859-1] Fri Oct 30 16:36:55 2009
@@ -185,7 +185,7 @@
PHANDLE ConnectionHandle)
{
ULONG BufferSize = sizeof(KSPIN_CONNECT);
- PKSDATAFORMAT DataFormat = ((PKSDATAFORMAT) ( ((ULONG)Connect) +
((ULONG)sizeof(KSPIN_CONNECT)) ) );
+ PKSDATAFORMAT DataFormat = ((PKSDATAFORMAT) ((ULONG_PTR)Connect +
sizeof(KSPIN_CONNECT)));
BufferSize += DataFormat->FormatSize;