ICU-2011 U_ASSERT, fix incorrect assertion in uhash

X-SVN-Rev: 9288
This commit is contained in:
Andy Heninger 2002-07-23 00:59:23 +00:00
parent c5e21811a0
commit b82ae85b5e

View File

@ -895,7 +895,7 @@ _uhash_internalRemoveElement(UHashtable *hash, UHashElement* e) {
static void
_uhash_internalSetResizePolicy(UHashtable *hash, enum UHashResizePolicy policy) {
U_ASSERT(hash == 0);
U_ASSERT(hash != NULL);
U_ASSERT(((int32_t)policy) >= 0);
U_ASSERT(((int32_t)policy) < 3);
hash->lowWaterRatio = RESIZE_POLICY_RATIO_TABLE[policy * 2];