Author: ekohl
Date: Sat Jan 29 19:01:34 2011
New Revision: 50566
URL:
http://svn.reactos.org/svn/reactos?rev=50566&view=rev
Log:
[LSALIB]
Fix compiler warnings for AMD64 build.
Modified:
trunk/reactos/lib/lsalib/lsa.c
Modified: trunk/reactos/lib/lsalib/lsa.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/lsalib/lsa.c?rev=50566…
==============================================================================
--- trunk/reactos/lib/lsalib/lsa.c [iso-8859-1] (original)
+++ trunk/reactos/lib/lsalib/lsa.c [iso-8859-1] Sat Jan 29 19:01:34 2011
@@ -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;