From cbac1432dfcfea2bceacc8b99c239d1abe224eb2 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 7 Apr 2006 07:43:27 +0000 Subject: [PATCH] ICU-4873 Fix Solaris warning and z/OS error. X-SVN-Rev: 19522 --- icu4c/source/test/intltest/utxttest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/icu4c/source/test/intltest/utxttest.cpp b/icu4c/source/test/intltest/utxttest.cpp index a741f4cb055..5ad17baa9d8 100644 --- a/icu4c/source/test/intltest/utxttest.cpp +++ b/icu4c/source/test/intltest/utxttest.cpp @@ -1203,7 +1203,8 @@ void UTextTest::FreezeTest() { // ut.b the character. Put into both halves. // -static UBool +U_CDECL_BEGIN +static UBool U_CALLCONV fragTextAccess(UText *ut, int64_t index, UBool forward) { const UnicodeString *us = (const UnicodeString *)ut->context; UChar c; @@ -1238,6 +1239,7 @@ fragTextAccess(UText *ut, int64_t index, UBool forward) { } return false; } +U_CDECL_END UText *