Remove compiler warning

This commit is contained in:
phl0 2016-04-20 11:02:17 +02:00
parent d5bb3e6a8a
commit eea2939705
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A

View file

@ -686,7 +686,7 @@ unsigned int CAMBEFEC::regenerateYSF3(unsigned char* bytes) const
// c3
g1 = 0U;
for (int i = 0U; i < 23U; i++)
for (int i = 0; i < 23; i++)
g1 = (g1 << 1) | (bit[i] ? 0x01U : 0x00U);
unsigned int c3data = CGolay24128::decode23127(g1);
g2 = CGolay24128::encode23127(c3data);