ICU-597 AS/400 porting changes

X-SVN-Rev: 3681
This commit is contained in:
George Rhoten 2001-02-20 01:01:03 +00:00
parent 6a76f2d773
commit 180723abc4
2 changed files with 3 additions and 3 deletions

View file

@ -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) {

View file

@ -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;