X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/729e4ab9bc6618bc3d8a898e575df7f4019e29ca..e4f10fab0c078f399c9deef476d9c9b73b47dff8:/icuSources/test/iotest/filetst.c diff --git a/icuSources/test/iotest/filetst.c b/icuSources/test/iotest/filetst.c index b65dc34e..fc104eb5 100644 --- a/icuSources/test/iotest/filetst.c +++ b/icuSources/test/iotest/filetst.c @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (C) 2004-2010, International Business Machines + * Copyright (C) 2004-2011, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * file name: filetst.c @@ -910,8 +910,8 @@ static void TestCodepage(void) { } static void TestCodepageFlush(void) { -#if UCONFIG_NO_LEGACY_CONVERSION - log_verbose("Skipping, legacy conversion is disabled."); +#if UCONFIG_NO_LEGACY_CONVERSION || UCONFIG_NO_FORMATTING + log_verbose("Skipping, legacy conversion or formatting is disabled."); #else UChar utf16String[] = { 0x39, 0x39, 0x39, 0x20, 0x65E0, 0x6CD6, 0x5728, 0x0000 }; uint8_t inBuf[200]; @@ -920,7 +920,7 @@ static void TestCodepageFlush(void) { UFILE *myFile = u_fopen(STANDARD_TEST_FILE, "wb", "en_US_POSIX", enc); FILE *myCFile; int shift = 0; - int i; + int32_t i; if (myFile == NULL) { log_err("Can't write test file %s\n", STANDARD_TEST_FILE); @@ -946,7 +946,7 @@ static void TestCodepageFlush(void) { } /* check if shift in and out */ - for(i=0;i