diff --git a/icu4c/source/common/unicode/utext.h b/icu4c/source/common/unicode/utext.h index eb99a519775..660994f6d20 100644 --- a/icu4c/source/common/unicode/utext.h +++ b/icu4c/source/common/unicode/utext.h @@ -1149,7 +1149,7 @@ struct UText { UBool bPadding1, bPadding2, bPadding3; /* pad UBools to 32 bit boudary */ - int32_t iPadding; /* pad int32 fields out to a 64 bit boudary. + int32_t iPadding; /* pad int32 fields out to a 64 bit boudary. */ /** * (public) Function pointer for UTextClone diff --git a/icu4c/source/test/cintltst/reapits.c b/icu4c/source/test/cintltst/reapits.c index 882d5e23f22..ed8479b415d 100644 --- a/icu4c/source/test/cintltst/reapits.c +++ b/icu4c/source/test/cintltst/reapits.c @@ -973,7 +973,7 @@ static void TestRegexCAPI(void) { } -void TestBug4315() { +void TestBug4315(void) { UErrorCode theICUError = U_ZERO_ERROR; URegularExpression *theRegEx; UChar *textBuff; diff --git a/icu4c/source/test/cintltst/utexttst.c b/icu4c/source/test/cintltst/utexttst.c index 3d8f426e452..36c2fd28543 100644 --- a/icu4c/source/test/cintltst/utexttst.c +++ b/icu4c/source/test/cintltst/utexttst.c @@ -86,7 +86,7 @@ static void TestAPI(void) { /* utext_clone() */ { UChar uString[] = {0x41, 0x42, 0x43, 0}; - int32_t len; + int64_t len; UText *uta; UText *utb; @@ -108,9 +108,9 @@ static void TestAPI(void) { UChar uString[] = {0x41, 0x42, 0x43, 0}; UText *uta; UChar32 c; - int32_t len; + int64_t len; UBool b; - int32_t i; + int64_t i; status = U_ZERO_ERROR; uta = utext_openUChars(NULL, uString, -1, &status);