mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-597 AS/400 porting changes
X-SVN-Rev: 3681
This commit is contained in:
parent
6a76f2d773
commit
180723abc4
2 changed files with 3 additions and 3 deletions
|
@ -127,7 +127,7 @@ enumAlgNames(AlgorithmicRange *range,
|
|||
static UChar32
|
||||
findAlgName(AlgorithmicRange *range, UCharNameChoice nameChoice, const char *otherName);
|
||||
|
||||
static UBool
|
||||
U_CFUNC UBool
|
||||
findNameDummy(void *context,
|
||||
UChar32 code, UCharNameChoice nameChoice,
|
||||
const char *name, UTextOffset length);
|
||||
|
@ -1158,7 +1158,7 @@ findAlgName(AlgorithmicRange *range, UCharNameChoice nameChoice, const char *oth
|
|||
}
|
||||
|
||||
/* this is a dummy function that is used as a "find not enumerate" flag */
|
||||
static UBool
|
||||
U_CFUNC UBool
|
||||
findNameDummy(void *context,
|
||||
UChar32 code, UCharNameChoice nameChoice,
|
||||
const char *name, UTextOffset length) {
|
||||
|
|
|
@ -501,7 +501,7 @@ u_strCaseMap(UChar *dest, int32_t destCapacity,
|
|||
temp=buffer;
|
||||
} else {
|
||||
/* allocate a buffer */
|
||||
temp=uprv_malloc(destCapacity*U_SIZEOF_UCHAR);
|
||||
temp=(UChar *)uprv_malloc(destCapacity*U_SIZEOF_UCHAR);
|
||||
if(temp==NULL) {
|
||||
*pErrorCode=U_MEMORY_ALLOCATION_ERROR;
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue