From e925c494fe30adafb615c075f5eb692dd2b2effa Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sat, 9 Apr 2016 21:45:54 +1000 Subject: Update LZMA SDK to 15.14 --- 3rdparty/lzma/C/Ppmd7Enc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '3rdparty/lzma/C/Ppmd7Enc.c') diff --git a/3rdparty/lzma/C/Ppmd7Enc.c b/3rdparty/lzma/C/Ppmd7Enc.c index 8247757d09d..e6dd3d2fc29 100644 --- a/3rdparty/lzma/C/Ppmd7Enc.c +++ b/3rdparty/lzma/C/Ppmd7Enc.c @@ -1,7 +1,9 @@ /* Ppmd7Enc.c -- PPMdH Encoder -2010-03-12 : Igor Pavlov : Public domain +2015-09-28 : Igor Pavlov : Public domain This code is based on PPMd var.H (2001): Dmitry Shkarin : Public domain */ +#include "Precomp.h" + #include "Ppmd7.h" #define kTopValue (1 << 24) @@ -24,7 +26,7 @@ static void RangeEnc_ShiftLow(CPpmd7z_RangeEnc *p) p->Stream->Write(p->Stream, (Byte)(temp + (Byte)(p->Low >> 32))); temp = 0xFF; } - while(--p->CacheSize != 0); + while (--p->CacheSize != 0); p->Cache = (Byte)((UInt32)p->Low >> 24); } p->CacheSize++; -- cgit v1.2.3-70-g09d2