mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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)
|
using (sessionPtr)
|
||||||
{
|
{
|
||||||
for (IntPtr p = sessionPtr.DangerousGetHandle();
|
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))))
|
p = IntPtr.Add(p, Marshal.SizeOf(typeof(NativeHelpers.LUID))))
|
||||||
{
|
{
|
||||||
SafeLsaMemoryBuffer sessionDataPtr;
|
SafeLsaMemoryBuffer sessionDataPtr;
|
||||||
|
|
Loading…
Reference in a new issue