mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-7496 fix const problem
X-SVN-Rev: 28088
This commit is contained in:
parent
090e24946f
commit
2510483f25
1 changed files with 2 additions and 2 deletions
|
@ -1103,9 +1103,9 @@ doOpenChoice(const char *path, const char *type, const char *name,
|
|||
/* remap from alternate path char to the main one */
|
||||
CharString altSepPath;
|
||||
if(path) {
|
||||
char *p;
|
||||
if((p=uprv_strchr(path,U_FILE_ALT_SEP_CHAR))) {
|
||||
if(uprv_strchr(path,U_FILE_ALT_SEP_CHAR) != NULL) {
|
||||
altSepPath.append(path, *pErrorCode);
|
||||
char *p;
|
||||
while((p=uprv_strchr(altSepPath.data(), U_FILE_ALT_SEP_CHAR))) {
|
||||
*p = U_FILE_SEP_CHAR;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue