Fix compiler warnings for AMD64 build.

svn path=/trunk/; revision=50566
This commit is contained in:
Eric Kohl
2011-01-29 19:01:34 +00:00
parent e7d3f44f6f
commit 72664fe2d6
+2 -2
View File
@@ -264,8 +264,8 @@ LsaLogonUser(HANDLE LsaHandle,
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;