ICU-1953 cast LE_MEMORY_ALLOCATION_ERROR to UErrorCode.

X-SVN-Rev: 8985
This commit is contained in:
Eric Mader 2002-07-01 18:06:19 +00:00
parent 898fd409f9
commit 1a92db995b

View File

@ -293,7 +293,7 @@ inline int32_t ICULayoutEngine::layoutString(const UnicodeString &str,
//test for NULL
if(chars == NULL) {
success = LE_MEMORY_ALLOCATION_ERROR;
success = (UErrorCode) LE_MEMORY_ALLOCATION_ERROR;
return 0;
}