mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 00:43:32 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue