Fix appveyor
This commit is contained in:
parent
934a430e89
commit
414a4c1ea2
@ -78,7 +78,7 @@ namespace FirstPlugin
|
|||||||
fixed (byte* srcPtr = src)
|
fixed (byte* srcPtr = src)
|
||||||
fixed (byte* uncompressedPtr = uncompressed)
|
fixed (byte* uncompressedPtr = uncompressed)
|
||||||
{
|
{
|
||||||
var decompressedLength = Methods.ZSTD_decompressDCtx(dctx, uncompressedPtr, (uint)uncompressed.Length, srcPtr, (uint)src.Length);
|
var decompressedLength = Methods.ZSTD_decompressDCtx(dctx, uncompressedPtr, (UIntPtr)uncompressed.Length, srcPtr, (UIntPtr)src.Length);
|
||||||
|
|
||||||
byte[] arr = new byte[(uint)decompressed_size];
|
byte[] arr = new byte[(uint)decompressed_size];
|
||||||
Marshal.Copy((IntPtr)uncompressedPtr, arr, 0, arr.Length);
|
Marshal.Copy((IntPtr)uncompressedPtr, arr, 0, arr.Length);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user