From f41f1ac2dc04cf351e057006045469bf6644e223 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Wed, 28 Mar 2001 18:30:43 +0000 Subject: [PATCH] ICU-900 Fixed some compiler warnings for HPUX with CC X-SVN-Rev: 4382 --- icu4c/source/common/unicode/unistr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/common/unicode/unistr.h b/icu4c/source/common/unicode/unistr.h index 6b45f6ffda8..fccfa8a6fb8 100644 --- a/icu4c/source/common/unicode/unistr.h +++ b/icu4c/source/common/unicode/unistr.h @@ -1857,7 +1857,7 @@ public: * @stable */ inline UnicodeString& remove(UTextOffset start, - int32_t length = INT32_MAX); + int32_t length = (int32_t)INT32_MAX); /** * Remove the characters in the range @@ -1868,7 +1868,7 @@ public: * @stable */ inline UnicodeString& removeBetween(UTextOffset start, - UTextOffset limit = INT32_MAX); + UTextOffset limit = (int32_t)INT32_MAX); /* Length operations */