mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 15:42:14 +00:00
ICU-2194 fix compile failure on Solaris ... variable declaration inside for loop not scoped
X-SVN-Rev: 12022
This commit is contained in:
parent
ff88de6661
commit
c9fa494ef4
1 changed files with 2 additions and 2 deletions
|
@ -353,8 +353,8 @@ compareMapping(uint32_t codepoint, uint32_t* mapping,int32_t mapLength,
|
|||
}
|
||||
int32_t realLength =0;
|
||||
/* figure out the real length */
|
||||
for(int32_t i=0; i<mapLength; i++){
|
||||
if(mapping[i] > 0xFFFF){
|
||||
for(int32_t j=0; j<mapLength; j++){
|
||||
if(mapping[j] > 0xFFFF){
|
||||
realLength +=2;
|
||||
}else{
|
||||
realLength++;
|
||||
|
|
Loading…
Add table
Reference in a new issue