1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix clang3.4 probrems

This commit is contained in:
bolero-MURAKAMI 2013-11-10 19:31:35 +09:00
parent f5e00839c1
commit e03f53f0d2
3 changed files with 4 additions and 3 deletions

View file

@ -380,7 +380,7 @@ namespace sprout {
}};
}
SPROUT_CXX14_CONSTEXPR void process_block() {
std::uint32_t w[80];
std::uint32_t w[80] = {};
for (std::size_t i = 0; i < 16; ++i) {
w[i] = (block_[i * 4 + 0] << 24);
w[i] |= (block_[i * 4 + 1] << 16);