/* Bernstein's hash */
int djb_hash(const char* str, int len, int hash) {

  while (len--) {
    hash = (hash * 33) ^ *str++;
  }

  return hash;
}

/* Bernstein's hash */
int djb_hash(const unsigned char* str, int len, int hash) {

  while (len--) {
    hash = (hash * 33) ^ *str++;
  }

  return hash;
}

Fix the handling of signedness, which caused a nasty bug
Fix the handling of signedness, which caused a nasty bug
