ICU-6234 Compiler Compatibility Problems

X-SVN-Rev: 23760
This commit is contained in:
Andy Heninger 2008-04-04 21:51:35 +00:00
parent e177926dd6
commit 791a437558
2 changed files with 5 additions and 5 deletions

View File

@ -1402,7 +1402,7 @@ _ISCIIGetUnicodeSet(const UConverter *cnv,
for (script = DEVANAGARI; script <= MALAYALAM; script++) {
mask = (uint8_t)(lookupInitialData[script].maskEnum);
for (idx = 0; idx < DELTA; idx++) {
//added check for TELUGU character
/* added check for TELUGU character */
if ((validityTable[idx] & mask) || (script==TELUGU && idx==0x31)) {
sa->add(sa->set, idx + (script * DELTA) + INDIC_BLOCK_BEGIN);

View File

@ -387,7 +387,7 @@ static void
intvector_write_java( struct SResource *res, UErrorCode *status) {
uint32_t i = 0;
const char* intArr = "new int[] {\n";
// const char* intC = "new Integer(";
/* const char* intC = "new Integer("; */
const char* stringArr = "new String[]{\n";
char buf[100];
int len =0;
@ -410,11 +410,11 @@ intvector_write_java( struct SResource *res, UErrorCode *status) {
tabCount++;
for(i = 0; i<res->u.fIntVector.fCount; i++) {
write_tabs(out);
// T_FileStream_write(out, intC, (int32_t)uprv_strlen(intC));
/* T_FileStream_write(out, intC, (int32_t)uprv_strlen(intC)); */
len=itostr(buf,res->u.fIntVector.fArray[i],10,0);
T_FileStream_write(out,buf,len);
// T_FileStream_write(out,"),",2);
// T_FileStream_write(out,"\n",1);
/* T_FileStream_write(out,"),",2); */
/* T_FileStream_write(out,"\n",1); */
T_FileStream_write(out,",\n",2);
}
}