ICU-2962 Fix a warning on Solaris and an error on z/OS
X-SVN-Rev: 13259
This commit is contained in:
parent
156eaa13a8
commit
e3aafcf459
@ -305,6 +305,7 @@ struct NameAndIndex {
|
||||
Offset name, index;
|
||||
};
|
||||
|
||||
U_CDECL_BEGIN
|
||||
typedef int32_t U_CALLCONV PropNameCompareFn(const char *name1, const char *name2);
|
||||
|
||||
struct CompareContext {
|
||||
@ -318,6 +319,7 @@ upname_compareRows(const void *context, const void *left, const void *right) {
|
||||
return cmp->propCompare(cmp->chars+((const NameAndIndex *)left)->name,
|
||||
cmp->chars+((const NameAndIndex *)right)->name);
|
||||
}
|
||||
U_CDECL_END
|
||||
|
||||
int32_t
|
||||
NameToEnum::swap(const UDataSwapper *ds,
|
||||
|
Loading…
Reference in New Issue
Block a user