mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-535 Fixed some compiler warnings.
X-SVN-Rev: 2982
This commit is contained in:
parent
528f396e61
commit
e47067460a
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue