Author: tkreuzer
Date: Tue Jan 5 01:26:54 2010
New Revision: 44941
URL:
http://svn.reactos.org/svn/reactos?rev=44941&view=rev
Log:
[LSALIB]
Fix ULONG -> pointer cast
Modified:
branches/ros-amd64-bringup/reactos/lib/lsalib/lsa.c
Modified: branches/ros-amd64-bringup/reactos/lib/lsalib/lsa.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/l…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/lsalib/lsa.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/lib/lsalib/lsa.c [iso-8859-1] Tue Jan 5 01:26:54
2010
@@ -264,8 +264,8 @@
0,
Reply->d.LogonUserReply.ProfileBufferLength);
memcpy(*ProfileBuffer,
- (PVOID)((ULONG)Reply->d.LogonUserReply.Data +
- (ULONG)Reply->d.LogonUserReply.ProfileBuffer),
+ (PVOID)((ULONG_PTR)Reply->d.LogonUserReply.Data +
+ (ULONG_PTR)Reply->d.LogonUserReply.ProfileBuffer),
Reply->d.LogonUserReply.ProfileBufferLength);
*LogonId = Reply->d.LogonUserReply.LogonId;
*Token = Reply->d.LogonUserReply.Token;