1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-22 07:58:48 +00:00

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

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;
}
}