ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8335
This commit is contained in:
parent
d950e15b50
commit
6e6032ba13
@ -96,12 +96,13 @@ u_loccache_get(const char *loc)
|
||||
return result;
|
||||
}
|
||||
|
||||
static loccache_cleanup()
|
||||
static UBool loccache_cleanup()
|
||||
{
|
||||
if (gLocaleCache) {
|
||||
uhash_close(gLocaleCache);
|
||||
gLocaleCache = NULL;
|
||||
}
|
||||
return TRUE; /* Everything was cleaned up */
|
||||
}
|
||||
|
||||
static UBool ustdio_cleanup(void)
|
||||
|
@ -106,7 +106,7 @@ u_fsettransliterator(UFILE *file, UFileDirection direction,
|
||||
}
|
||||
|
||||
|
||||
const UChar * u_file_translit(UFILE *f, const UChar *src, int32_t *count, UBool flush)
|
||||
static const UChar * u_file_translit(UFILE *f, const UChar *src, int32_t *count, UBool flush)
|
||||
{
|
||||
int32_t newlen;
|
||||
int32_t junkCount = 0;
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
UBool operator==(const NFRule& rhs) const;
|
||||
UBool operator!=(const NFRule& rhs) const { return !operator==(rhs); }
|
||||
|
||||
ERuleType getType() const { return (ERuleType)(baseValue <= 0 ? baseValue : kOtherRule); }
|
||||
ERuleType getType() const { return (ERuleType)(baseValue <= kNoBase ? (ERuleType)baseValue : kOtherRule); }
|
||||
void setType(ERuleType ruleType) { baseValue = (int32_t)ruleType; }
|
||||
|
||||
int64_t getBaseValue() const { return baseValue; }
|
||||
|
Loading…
Reference in New Issue
Block a user