ICU-900 properly fixed the compiler warning

X-SVN-Rev: 5531
This commit is contained in:
George Rhoten 2001-08-17 22:40:45 +00:00
parent 5368bcd591
commit 166d9607e9

View file

@ -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);
}