mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 06:25:30 +00:00
ICU-900 properly fixed the compiler warning
X-SVN-Rev: 5531
This commit is contained in:
parent
5368bcd591
commit
166d9607e9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue