ICU-1953 cast LE_MEMORY_ALLOCATION_ERROR to UErrorCode.
X-SVN-Rev: 8985
This commit is contained in:
parent
898fd409f9
commit
1a92db995b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user