mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-1577 fix gcc compiler warnings.
X-SVN-Rev: 7296
This commit is contained in:
parent
12bf469d3c
commit
53475997bb
2 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ OpenTypeLayoutEngine::~OpenTypeLayoutEngine()
|
|||
LETag OpenTypeLayoutEngine::getScriptTag(le_int32 scriptCode)
|
||||
{
|
||||
if (scriptCode == -1) {
|
||||
return -1;
|
||||
return 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
return scriptTags[scriptCode];
|
||||
|
@ -74,7 +74,7 @@ LETag OpenTypeLayoutEngine::getScriptTag(le_int32 scriptCode)
|
|||
LETag OpenTypeLayoutEngine::getLangSysTag(le_int32 languageCode)
|
||||
{
|
||||
// FIXME: do this for real some day (soon?)
|
||||
return -1;
|
||||
return 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
void OpenTypeLayoutEngine::setScriptAndLanguageTags()
|
||||
|
|
|
@ -266,7 +266,7 @@ le_int32 ThaiShaping::compose(const LEUnicode *input, le_int32 offset, le_int32
|
|||
le_uint8 state = 0;
|
||||
le_int32 inputIndex;
|
||||
le_int32 outputIndex = 0;
|
||||
le_uint8 conState = -1;
|
||||
le_uint8 conState = 0xFF;
|
||||
le_int32 conInput = -1;
|
||||
le_int32 conOutput = -1;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue