mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-12 22:35:42 +00:00
fix: remove .ToPointer call in tests project
This commit is contained in:
parent
02e4000c63
commit
afc85038c2
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user