public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH trivial] batman-adv: make indexes variable type homogeneous
@ 2013-04-01 21:40 Antonio Quartulli
  2013-04-01 21:44 ` Antonio Quartulli
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Quartulli @ 2013-04-01 21:40 UTC (permalink / raw)
  To: b.a.t.m.a.n

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];
-- 
1.8.1.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [B.A.T.M.A.N.] [PATCH trivial] batman-adv: make indexes variable type homogeneous
  2013-04-01 21:40 [B.A.T.M.A.N.] [PATCH trivial] batman-adv: make indexes variable type homogeneous Antonio Quartulli
@ 2013-04-01 21:44 ` Antonio Quartulli
  0 siblings, 0 replies; 2+ messages in thread
From: Antonio Quartulli @ 2013-04-01 21:44 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]

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,


-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-01 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-01 21:40 [B.A.T.M.A.N.] [PATCH trivial] batman-adv: make indexes variable type homogeneous Antonio Quartulli
2013-04-01 21:44 ` Antonio Quartulli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox