[LSALIB]
authorEric Kohl <eric.kohl@reactos.org>
Sat, 29 Jan 2011 19:01:34 +0000 (19:01 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 29 Jan 2011 19:01:34 +0000 (19:01 +0000)
Fix compiler warnings for AMD64 build.

svn path=/trunk/; revision=50566

reactos/lib/lsalib/lsa.c

index 94cd6af..31c2aeb 100644 (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;