ICU-3222 compiler warning fix

X-SVN-Rev: 14313
This commit is contained in:
Vladimir Weinstein 2004-01-13 19:58:46 +00:00
parent a934d2c674
commit 904a2126cf
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@
* to be returned.
* @stable ICU 2.0
*/
#define UCOL_NULLORDER 0xFFFFFFFF
#define UCOL_NULLORDER ((int32_t)0xFFFFFFFF)
#include "unicode/ucol.h"

View File

@ -2453,8 +2453,8 @@ static void TestDisplayKeywords(void)
const char* keyword =NULL;
int32_t keywordLen = 0;
int32_t keywordCount = 0;
UChar *displayKeyword=NULL, *displayKeywordValue = NULL;
int32_t displayKeywordLen = 0, displayKeywordValueLen = 0;
UChar *displayKeyword=NULL;
int32_t displayKeywordLen = 0;
UEnumeration* keywordEnum = uloc_openKeywords(testCases[i].localeID, &status);
for(keywordCount = uenum_count(keywordEnum, &status); keywordCount > 0 ; keywordCount--){
if(U_FAILURE(status)){