Ansible.Become - fix 32 bit incompatibility (#51094)
This commit is contained in:
parent
63f7536594
commit
fa0ab82d21
1 changed files with 1 additions and 1 deletions
|
@ -793,7 +793,7 @@ namespace Ansible.Become
|
|||
using (sessionPtr)
|
||||
{
|
||||
for (IntPtr p = sessionPtr.DangerousGetHandle();
|
||||
p != IntPtr.Add(sessionPtr.DangerousGetHandle(), (int)(IntPtr.Size * sessionCount));
|
||||
p != IntPtr.Add(sessionPtr.DangerousGetHandle(), (int)(Marshal.SizeOf(typeof(NativeHelpers.LUID)) * sessionCount));
|
||||
p = IntPtr.Add(p, Marshal.SizeOf(typeof(NativeHelpers.LUID))))
|
||||
{
|
||||
SafeLsaMemoryBuffer sessionDataPtr;
|
||||
|
|
Loading…
Reference in a new issue