From b38693491907a8b1ae264f5ee20c4574d633a17e Mon Sep 17 00:00:00 2001 From: Yves Arrouye Date: Mon, 31 Jul 2000 18:44:56 +0000 Subject: [PATCH] ICU-89 fixed return of -1 to be cast to UChar. X-SVN-Rev: 2076 --- icu4c/source/test/intltest/normconf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/test/intltest/normconf.cpp b/icu4c/source/test/intltest/normconf.cpp index 5b68b17a4a..5246c3dec4 100644 --- a/icu4c/source/test/intltest/normconf.cpp +++ b/icu4c/source/test/intltest/normconf.cpp @@ -221,7 +221,7 @@ static UChar parseInt(const UnicodeString& s, int32_t pos) { while (pos < limit) { int8_t digit = Unicode::digit(s.charAt(pos++), 16); if (digit < 0) { - return -1; // Bogus hex digit -- shouldn't happen + return (UChar) -1; // Bogus hex digit -- shouldn't happen } value = (value << 4) | digit; }