Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/C/XzDec.c
diff options
context:
space:
mode:
Diffstat (limited to 'C/XzDec.c')
-rw-r--r--C/XzDec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/C/XzDec.c b/C/XzDec.c
index 685394b0..b973e686 100644
--- a/C/XzDec.c
+++ b/C/XzDec.c
@@ -1,5 +1,5 @@
/* XzDec.c -- Xz Decode
-2018-02-28 : Igor Pavlov : Public domain */
+2018-04-24 : Igor Pavlov : Public domain */
#include "Precomp.h"
@@ -2673,7 +2673,7 @@ SRes XzDecMt_Decode(CXzDecMtHandle pp,
if (p->finishedDecoderIndex >= 0)
{
- CXzDecMtThread *coder = &p->coders[p->finishedDecoderIndex];
+ CXzDecMtThread *coder = &p->coders[(unsigned)p->finishedDecoderIndex];
codeRes = coder->codeRes;
dec = &coder->dec;
status = coder->status;