[apps] Replace sizeInBits>>2 sizeInBits/sizeof(uint32_t) in checksums

Change-Id: I4f96514caa4552d2158bb9ebdc328a6453554934
This commit is contained in:
Émilie Feral
2017-08-25 14:18:27 +02:00
parent eea1928ac9
commit be8a0c6df3
8 changed files with 8 additions and 8 deletions

View File

@@ -89,7 +89,7 @@ uint32_t Sequence::checksum() {
data[k_dataLengthInBytes-3] = (char)m_type;
data[k_dataLengthInBytes-2] = name()!= nullptr ? name()[0] : 0;
data[k_dataLengthInBytes-1] = isActive() ? 1 : 0;
return Ion::crc32((uint32_t *)data, k_dataLengthInBytes>>2);
return Ion::crc32((uint32_t *)data, k_dataLengthInBytes/sizeof(uint32_t));
}
const char * Sequence::firstInitialConditionText() {