diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-11-04 10:07:04 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-11-04 10:07:04 (GMT) |
commit | d7b9e31702137c589d070776427ff57d4740eb8d (patch) | |
tree | fb272dce21fb813bf3f2cffd50a2cf8497127a70 /lz4.c | |
parent | 4dbd2faebb345e4b9d888135e9adffe500bdbb38 (diff) | |
download | lz4-d7b9e31702137c589d070776427ff57d4740eb8d.zip lz4-d7b9e31702137c589d070776427ff57d4740eb8d.tar.gz lz4-d7b9e31702137c589d070776427ff57d4740eb8d.tar.bz2 |
Fixed issue #31 : lz4.c warning under visual
Diffstat (limited to 'lz4.c')
-rw-r--r-- | lz4.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -289,7 +289,7 @@ typedef enum { full = 0, partial = 1 } earlyEnd_directive; /************************************** Macros **************************************/ -#define LZ4_STATIC_ASSERT(c) { enum { LZ4_static_assert = 1/(!!(c)) }; } /* use only *after* variable declarations */ +#define LZ4_STATIC_ASSERT(c) { enum { LZ4_static_assert = 1/(int)(!!(c)) }; } /* use only *after* variable declarations */ #if LZ4_ARCH64 || !defined(__GNUC__) # define LZ4_WILDCOPY(d,s,e) { do { LZ4_COPY8(d,s) } while (d<e); } /* at the end, d>=e; */ #else |