ICU-2000 Fix some compiler warnings.

X-SVN-Rev: 10225
This commit is contained in:
George Rhoten 2002-11-12 01:44:37 +00:00
parent 1b8c614b0a
commit b0d0f6a394

View File

@ -215,7 +215,7 @@ public:
};
// Sort function for NameToEnumEntry (sort by name index)
int compareNameToEnumEntry(const void* e1, const void* e2) {
U_CAPI int compareNameToEnumEntry(const void* e1, const void* e2) {
return ((NameToEnumEntry*)e1)->nameIndex - ((NameToEnumEntry*)e2)->nameIndex;
}
@ -245,7 +245,7 @@ public:
};
// Sort function for EnumToNameGroupEntry (sort by name index)
int compareEnumToNameGroupEntry(const void* e1, const void* e2) {
U_CAPI int compareEnumToNameGroupEntry(const void* e1, const void* e2) {
return ((EnumToNameGroupEntry*)e1)->enumValue - ((EnumToNameGroupEntry*)e2)->enumValue;
}
@ -276,7 +276,7 @@ public:
};
// Sort function for EnumToValueEntry (sort by enum)
int compareEnumToValueEntry(const void* e1, const void* e2) {
U_CAPI int compareEnumToValueEntry(const void* e1, const void* e2) {
return ((EnumToValueEntry*)e1)->enumValue - ((EnumToValueEntry*)e2)->enumValue;
}
@ -885,7 +885,7 @@ static UDataInfo dataInfo = {
};
// Glue for C<->C++
int compareAliasNames(const void* elem1, const void* elem2) {
U_CAPI int compareAliasNames(const void* elem1, const void* elem2) {
return ((const AliasName*)elem1)->compare(*(const AliasName*)elem2);
}