ICU-1992 Fix for HP/UX

X-SVN-Rev: 9240
This commit is contained in:
George Rhoten 2002-07-17 22:21:34 +00:00
parent 1b1cd03e17
commit e9cea70189

View File

@ -196,7 +196,7 @@ void ctest_appendToDataDirectory(const char *toAppend)
if(newLen > 1022)
{
newPath = malloc(newLen);
newPath = (char *)ctst_malloc(newLen);
}
strcpy(newPath, oldPath);
@ -269,7 +269,7 @@ ctest_pathnameInContext( char* fullname, int32_t maxsize, const char* relPath )
/* returns the path to icu/source/data/out */
const char *ctest_dataOutDir()
{
static char *dataOutDir = NULL;
static const char *dataOutDir = NULL;
if(dataOutDir) {
return dataOutDir;