Skip to content

Commit 5e429a4

Browse files
committed
Fix build
1 parent 41e05ad commit 5e429a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transform/LZCodec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ bool LZXCodec<T>::inverse(SliceArray<byte>& input, SliceArray<byte>& output, int
512512
}
513513
else {
514514
// dist = 1
515-
memset(&dst[dstIdx], dst[ref], mLen);
515+
memset(&dst[dstIdx], int(dst[ref]), mLen);
516516
}
517517

518518
dstIdx = mEnd;

0 commit comments

Comments
 (0)