Fixed small compiler warning.

This commit is contained in:
Pedro Alvarez 2019-08-08 15:31:35 +01:00 committed by Andre Puschmann
parent 1ae8ccda8c
commit 595185d4b5
1 changed files with 1 additions and 2 deletions

View File

@ -832,7 +832,6 @@ LIBLTE_ERROR_ENUM liblte_security_128_eia3(uint8* key, uint32 count, uint8 beare
uint8_t iv[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
uint32 *ks;
int32 i;
uint32 msg_len_block_8, msg_len_block_32, m;
if(key != NULL &&
@ -874,7 +873,7 @@ LIBLTE_ERROR_ENUM liblte_security_128_eia3(uint8* key, uint32 count, uint8 beare
zuc_generate_keystream(&zuc_state, L, ks);
uint32_t T = 0;
for (i = 0; i < msg_len; i++) {
for (uint32_t i = 0; i < msg_len; i++) {
if (GET_BIT(msg, i)) {
T ^= GET_WORD(ks, i);
}