Fixed Visual solution

This commit is contained in:
Yann Collet
2016-02-12 22:04:49 +01:00
parent 6f3acbac0d
commit 82f4d7da03
12 changed files with 58 additions and 302 deletions
+2 -1
View File
@@ -30,7 +30,8 @@
#endif
#if defined(_MSC_VER)
#pragma warning(disable : 4244)
# pragma warning(disable : 4244)
# pragma warning(disable : 4127) /* C4127 : Condition expression is constant */
#endif
-1
View File
@@ -36,7 +36,6 @@
****************************************/
/* Disable some Visual warning messages */
#ifdef _MSC_VER
# define _CRT_SECURE_NO_WARNINGS /* fopen */
# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */
#endif
+2 -2
View File
@@ -416,8 +416,8 @@ static U32 ZSTD_HcGetAllMatches_selectMLS_extDict (
*********************************/
FORCE_INLINE
void ZSTD_compressBlock_opt_generic(ZSTD_CCtx* ctx,
const void* src, size_t srcSize,
const U32 searchMethod, const U32 depth)
const void* src, size_t srcSize,
const U32 searchMethod, const U32 depth)
{
seqStore_t* seqStorePtr = &(ctx->seqStore);
const BYTE* const istart = (const BYTE*)src;