diff options
author | aqrit <vippor_cs@yahoo.com> | 2020-08-17 21:53:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 21:53:07 (GMT) |
commit | e45defa8bdfe711e3e6c800970516038ca6d7143 (patch) | |
tree | 1c608de0b221268cf694979675238c19e9ca2bf6 /lib/lz4.c | |
parent | e72897402df0b93978d9471979e6d5c62d278b2a (diff) | |
download | lz4-e45defa8bdfe711e3e6c800970516038ca6d7143.zip lz4-e45defa8bdfe711e3e6c800970516038ca6d7143.tar.gz lz4-e45defa8bdfe711e3e6c800970516038ca6d7143.tar.bz2 |
silence warning
MSVC debug mode complains
Diffstat (limited to 'lib/lz4.c')
-rw-r--r-- | lib/lz4.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -538,8 +538,8 @@ static unsigned LZ4_NbCommonBytes (reg_t val) 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, }; const U64 mask = 0x0101010101010101ULL; - val = (((val >> 8) - mask) | val) & mask; - return ctz7_tab[((U64)(val * 0x0080402010080402ULL)) >> 57]; + U64 t = (((val >> 8) - mask) | val) & mask; + return ctz7_tab[(t * 0x0080402010080402ULL) >> 57]; # endif } else /* 32 bits */ { # if (defined(__clang__) || (defined(__GNUC__) && ((__GNUC__ > 3) || \ |