ICU-2699 Fix some compiler warnings

X-SVN-Rev: 12211
This commit is contained in:
George Rhoten 2003-06-01 20:36:13 +00:00
parent 4f2e30f29d
commit 8154919c09
2 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ const UnicodeString RBDataMap::getString(const char* key, UErrorCode &status) co
}
const int32_t RBDataMap::getInt(const char* key, UErrorCode &status) const
int32_t RBDataMap::getInt(const char* key, UErrorCode &status) const
{
int32_t result = 0;
UnicodeString r = this->getString(key, status);

View File

@ -38,7 +38,7 @@ public:
* @param key name of the data field.
* @return an integer containing the data
*/
virtual const int32_t getInt(const char* key, UErrorCode &status) const = 0;
virtual int32_t getInt(const char* key, UErrorCode &status) const = 0;
/** get an array of strings from the DataMap. Addressed by name.
* The user must dispose of it after usage.
@ -77,7 +77,7 @@ public:
void init(UResourceBundle *headers, UResourceBundle *data, UErrorCode &status);
virtual const UnicodeString getString(const char* key, UErrorCode &status) const;
virtual const int32_t getInt(const char* key, UErrorCode &status) const;
virtual int32_t getInt(const char* key, UErrorCode &status) const;
virtual const UnicodeString* getStringArray(int32_t& count, const char* key, UErrorCode &status) const;
virtual const int32_t* getIntArray(int32_t& count, const char* key, UErrorCode &status) const;