ICU-535 Fixed some compiler warnings.

X-SVN-Rev: 2982
This commit is contained in:
George Rhoten 2000-11-21 21:45:53 +00:00
parent 528f396e61
commit e47067460a

View file

@ -223,11 +223,11 @@ static void TestOtherAPI(void){
* This hash function is designed to collide a lot to test key equality
* resolution. It only uses the first char.
*/
int32_t hashChars(const void* key) {
static int32_t hashChars(const void* key) {
return *(const char*) key;
}
UBool isEqualChars(const void* key1, const void* key2) {
static UBool isEqualChars(const void* key1, const void* key2) {
return (UBool)((key1 != NULL) &&
(key2 != NULL) &&
(uprv_strcmp((const char*)key1, (const char*)key2) == 0));