Signed-off-by: Antonio Quartulli ordex@autistici.org --- translation-table.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/translation-table.c b/translation-table.c index 279f0fd..88a697d 100644 --- a/translation-table.c +++ b/translation-table.c @@ -1391,8 +1391,7 @@ static uint16_t batadv_tt_global_crc(struct batadv_priv *bat_priv, struct batadv_tt_common_entry *tt_common; struct batadv_tt_global_entry *tt_global; struct hlist_head *head; - uint32_t i; - int j; + int i, j;
for (i = 0; i < hash->size; i++) { head = &hash->table[i];
On Mon, Apr 01, 2013 at 11:40:36PM +0200, Antonio Quartulli wrote:
Signed-off-by: Antonio Quartulli ordex@autistici.org
Please, ignore this patch. We decided to always use a uint32_t as index type because that might be the result of our hash function.
Cheers,
b.a.t.m.a.n@lists.open-mesh.org