From b82ae85b5e4b90c006cab6e86fd7e8579e8fb955 Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Tue, 23 Jul 2002 00:59:23 +0000 Subject: [PATCH] ICU-2011 U_ASSERT, fix incorrect assertion in uhash X-SVN-Rev: 9288 --- icu4c/source/common/uhash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/common/uhash.c b/icu4c/source/common/uhash.c index 5a401018b94..54bbdc8bd5f 100644 --- a/icu4c/source/common/uhash.c +++ b/icu4c/source/common/uhash.c @@ -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];