From 166d9607e97b388aa371de0412c930389c61ccbc Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 17 Aug 2001 22:40:45 +0000 Subject: [PATCH] ICU-900 properly fixed the compiler warning X-SVN-Rev: 5531 --- icu4c/source/i18n/choicfmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/i18n/choicfmt.cpp b/icu4c/source/i18n/choicfmt.cpp index 59ded53ceda..ffc06bacc3b 100644 --- a/icu4c/source/i18n/choicfmt.cpp +++ b/icu4c/source/i18n/choicfmt.cpp @@ -243,7 +243,7 @@ ChoiceFormat::stod(const UnicodeString& string) char source[256]; char* end; - string.extract(0, string.length(), source, 256, ""); /* invariant codepage */ + source[string.extract(0, string.length(), source, 256, "")] = 0; /* invariant codepage */ return uprv_strtod(source,&end); }