fix: remove .ToPointer call in tests project

This commit is contained in:
Oliver Booth 2024-01-06 12:31:13 +00:00
parent 02e4000c63
commit afc85038c2
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
1 changed files with 1 additions and 1 deletions

View File

@ -70,6 +70,6 @@ public class MarshellerTests
var marshaller = new Utf8StringToNative();
nint buffer = marshaller.MarshalManagedToNative(input);
byteCount = Encoding.UTF8.GetByteCount(input);
return (byte*)buffer.ToPointer();
return (byte*)buffer;
}
}