Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

Commit

Permalink
Minor modification of LZMA runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
yck1509 committed Dec 21, 2014
1 parent a7c0140 commit 5793cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Confuser.Runtime/Lzma.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static byte[] Decompress(byte[] data) {
int v = s.ReadByte();
outSize |= ((long)(byte)v) << (8 * i);
}
var b = new byte[outSize];
var b = new byte[(int)outSize];
var z = new MemoryStream(b, true);
long compressedSize = s.Length - 13;
decoder.Code(s, z, compressedSize, outSize);
Expand Down

0 comments on commit 5793cce

Please sign in to comment.