ICU-1577 fix gcc compiler warnings.

X-SVN-Rev: 7296
This commit is contained in:
Eric Mader 2001-12-03 23:31:52 +00:00
parent 12bf469d3c
commit 53475997bb
2 changed files with 3 additions and 3 deletions

View File

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

View File

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