From 72664fe2d6e02ff87afc6ebe84ae005f9bd40959 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sat, 29 Jan 2011 19:01:34 +0000 Subject: [PATCH] [LSALIB] Fix compiler warnings for AMD64 build. svn path=/trunk/; revision=50566 --- reactos/lib/lsalib/lsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/lsalib/lsa.c b/reactos/lib/lsalib/lsa.c index 94cd6af8e16..31c2aeb197f 100644 --- a/reactos/lib/lsalib/lsa.c +++ b/reactos/lib/lsalib/lsa.c @@ -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; -- 2.17.1