ICU-535 fix MSVC level 4 warnings

X-SVN-Rev: 2267
This commit is contained in:
Alan Liu 2000-08-15 19:29:56 +00:00
parent 681c905178
commit 52cf4245ae

View File

@ -80,7 +80,7 @@ ucal_open( const UChar* zoneID,
else {
int32_t length = (len == -1 ? u_strlen(zoneID) : len);
zone = TimeZone::createTimeZone(UnicodeString(len == -1, zoneID, length));
zone = TimeZone::createTimeZone(UnicodeString(zoneID, length));
}
if(zone == 0) {
*status = U_MEMORY_ALLOCATION_ERROR;