mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23019
This commit is contained in:
parent
18224fd078
commit
a8777a6f4e
1 changed files with 4 additions and 3 deletions
|
@ -391,7 +391,7 @@ ZoneStringSearchResultHandler::clear(void) {
|
|||
if (fResults != NULL) {
|
||||
delete fResults;
|
||||
}
|
||||
for (int32_t i = 0; i < sizeof(fMatchLen)/sizeof(int32_t); i++) {
|
||||
for (int32_t i = 0; i < (int32_t)(sizeof(fMatchLen)/sizeof(fMatchLen[0])); i++) {
|
||||
fMatchLen[i] = 0;
|
||||
}
|
||||
}
|
||||
|
@ -1530,8 +1530,9 @@ SafeZoneStringFormatPtr::get() const {
|
|||
}
|
||||
|
||||
ZSFCacheEntry::ZSFCacheEntry(const Locale &locale, ZoneStringFormat *zsf, ZSFCacheEntry *next)
|
||||
: UMemory(), fRefCount(1), fLocale(locale),
|
||||
fZoneStringFormat(zsf), fNext(next) {
|
||||
: UMemory(), fLocale(locale), fZoneStringFormat(zsf),
|
||||
fNext(next), fRefCount(1)
|
||||
{
|
||||
}
|
||||
|
||||
ZSFCacheEntry::~ZSFCacheEntry () {
|
||||
|
|
Loading…
Add table
Reference in a new issue