1. 25 Jun, 2012 1 commit
  2. 20 Jun, 2012 2 commits
  3. 18 Jun, 2012 1 commit
  4. 16 Feb, 2012 1 commit
  5. 20 Nov, 2011 1 commit
    • Antonio Quartulli's avatar
      batman-adv: fixed hash functions type to uint32_t instead of int · c90681b8
      Antonio Quartulli authored
      
      
      There are two reasons for this fix:
      - the result of choose_orig() and vis_choose() is an index and therefore it can't
        be negative. Hence it is correct to make the return type unsigned too.
      
      - sizeof(int) may not be the same on ALL the architectures. Since we plan to use
        choose_orig() as DHT hash function, we need to guarantee that, given the same
        argument, the result is the same. Then it is correct to explicitly express
        the size of the return type (and the second argument). Since the expected
        length is currently 4, uint32_t is the most convenient choice.
      Signed-off-by: default avatarAntonio Quartulli <ordex@autistici.org>
      Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
      c90681b8
  6. 29 May, 2011 1 commit
  7. 05 Mar, 2011 2 commits
  8. 31 Jan, 2011 1 commit
  9. 16 Dec, 2010 1 commit