@@ -165,11 +165,11 @@ _buckets = [self allocZeroedMemoryWithSize: sizeof(*_buckets) count: _capacity]; if (of_hash_seed != 0) - _rotate = of_random() & 31; + _rotate = of_random16() & 31; } @catch (id e) { [self release]; @throw e; } @@ -532,11 +532,11 @@ /* * Get a new random value for _rotate, so that it is not less secure * than creating a new hash map. */ if (of_hash_seed != 0) - _rotate = of_random() & 31; + _rotate = of_random16() & 31; } - (bool)containsObject: (void *)object { if (object == NULL || _count == 0)