mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-10175 swat compiler warnings in layout.
X-SVN-Rev: 38759
This commit is contained in:
parent
3fe541e843
commit
c651697448
2 changed files with 22 additions and 22 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*
|
||||
* (C) Copyright IBM Corp. 1998-2015 - All Rights Reserved
|
||||
* (C) Copyright IBM Corp. 1998-2016 - All Rights Reserved
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -94,7 +94,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto
|
|||
ia = glyphStorage.getCharIndex(firstGlyph, success);
|
||||
x = firstGlyph + 1;
|
||||
|
||||
while (x <= lastGlyph) {
|
||||
while (x <= (int32_t)lastGlyph) {
|
||||
glyphStorage[x - 1] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x - 1, ix, success);
|
||||
|
@ -115,7 +115,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = lastGlyph - 1;
|
||||
|
||||
while (x >= firstGlyph) {
|
||||
while (x >= (int32_t)firstGlyph) {
|
||||
glyphStorage[x + 1] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x + 1, ix, success);
|
||||
|
@ -150,7 +150,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto
|
|||
ib = glyphStorage.getCharIndex(firstGlyph + 1, success);
|
||||
x = firstGlyph + 2;
|
||||
|
||||
while (x <= lastGlyph) {
|
||||
while (x <= (int32_t)lastGlyph) {
|
||||
glyphStorage[x - 2] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x - 2, ix, success);
|
||||
|
@ -176,7 +176,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto
|
|||
ib = glyphStorage.getCharIndex(firstGlyph + 1, success);
|
||||
x = firstGlyph + 2;
|
||||
|
||||
while (x <= lastGlyph) {
|
||||
while (x <= (int32_t)lastGlyph) {
|
||||
glyphStorage[x - 2] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x - 2, ix, success);
|
||||
|
@ -202,7 +202,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = lastGlyph - 2;
|
||||
|
||||
while (x >= firstGlyph) {
|
||||
while (x >= (int32_t)firstGlyph) {
|
||||
glyphStorage[x + 2] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x + 2, ix, success);
|
||||
|
@ -228,7 +228,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = lastGlyph - 2;
|
||||
|
||||
while (x >= firstGlyph) {
|
||||
while (x >= (int32_t)firstGlyph) {
|
||||
glyphStorage[x + 2] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x + 2, ix, success);
|
||||
|
@ -256,7 +256,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = lastGlyph - 2;
|
||||
|
||||
while (x > firstGlyph) {
|
||||
while (x > (int32_t)firstGlyph) {
|
||||
glyphStorage[x + 1] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x + 1, ix, success);
|
||||
|
@ -286,7 +286,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = lastGlyph - 2;
|
||||
|
||||
while (x > firstGlyph) {
|
||||
while (x > (int32_t)firstGlyph) {
|
||||
glyphStorage[x + 1] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x + 1, ix, success);
|
||||
|
@ -316,7 +316,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = firstGlyph + 2;
|
||||
|
||||
while (x < lastGlyph) {
|
||||
while (x < (int32_t)lastGlyph) {
|
||||
glyphStorage[x - 2] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x - 2, ix, success);
|
||||
|
@ -346,7 +346,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = firstGlyph + 2;
|
||||
|
||||
while (x < lastGlyph) {
|
||||
while (x < (int32_t)lastGlyph) {
|
||||
glyphStorage[x - 2] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x - 2, ix, success);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*
|
||||
* (C) Copyright IBM Corp. and others 1998-2015 - All Rights Reserved
|
||||
* (C) Copyright IBM Corp. and others 1998-2016 - All Rights Reserved
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -91,7 +91,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt
|
|||
ia = glyphStorage.getCharIndex(firstGlyph, success);
|
||||
x = firstGlyph + 1;
|
||||
|
||||
while (x <= lastGlyph) {
|
||||
while (x <= (int32_t)lastGlyph) {
|
||||
glyphStorage[x - 1] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x - 1, ix, success);
|
||||
|
@ -112,7 +112,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = lastGlyph - 1;
|
||||
|
||||
while (x >= firstGlyph) {
|
||||
while (x >= (int32_t)firstGlyph) {
|
||||
glyphStorage[x + 1] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x + 1, ix, success);
|
||||
|
@ -147,7 +147,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt
|
|||
ib = glyphStorage.getCharIndex(firstGlyph + 1, success);
|
||||
x = firstGlyph + 2;
|
||||
|
||||
while (x <= lastGlyph) {
|
||||
while (x <= (int32_t)lastGlyph) {
|
||||
glyphStorage[x - 2] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x - 2, ix, success);
|
||||
|
@ -173,7 +173,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt
|
|||
ib = glyphStorage.getCharIndex(firstGlyph + 1, success);
|
||||
x = firstGlyph + 2;
|
||||
|
||||
while (x <= lastGlyph) {
|
||||
while (x <= (int32_t)lastGlyph) {
|
||||
glyphStorage[x - 2] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x - 2, ix, success);
|
||||
|
@ -199,7 +199,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = lastGlyph - 2;
|
||||
|
||||
while (x >= firstGlyph) {
|
||||
while (x >= (int32_t)firstGlyph) {
|
||||
glyphStorage[x + 2] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x + 2, ix, success);
|
||||
|
@ -225,7 +225,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = lastGlyph - 2;
|
||||
|
||||
while (x >= firstGlyph) {
|
||||
while (x >= (int32_t)firstGlyph) {
|
||||
glyphStorage[x + 2] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x + 2, ix, success);
|
||||
|
@ -253,7 +253,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = lastGlyph - 2;
|
||||
|
||||
while (x > firstGlyph) {
|
||||
while (x > (int32_t)firstGlyph) {
|
||||
glyphStorage[x + 1] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x + 1, ix, success);
|
||||
|
@ -283,7 +283,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = lastGlyph - 2;
|
||||
|
||||
while (x > firstGlyph) {
|
||||
while (x > (int32_t)firstGlyph) {
|
||||
glyphStorage[x + 1] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x + 1, ix, success);
|
||||
|
@ -313,7 +313,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = firstGlyph + 2;
|
||||
|
||||
while (x < lastGlyph) {
|
||||
while (x < (int32_t)lastGlyph) {
|
||||
glyphStorage[x - 2] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x - 2, ix, success);
|
||||
|
@ -343,7 +343,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt
|
|||
id = glyphStorage.getCharIndex(lastGlyph, success);
|
||||
x = firstGlyph + 2;
|
||||
|
||||
while (x < lastGlyph) {
|
||||
while (x < (int32_t)lastGlyph) {
|
||||
glyphStorage[x - 2] = glyphStorage[x];
|
||||
ix = glyphStorage.getCharIndex(x, success);
|
||||
glyphStorage.setCharIndex(x - 2, ix, success);
|
||||
|
|
Loading…
Add table
Reference in a new issue