forked from OSchip/llvm-project
Add const qualification; fixes error on gcc 4.4.
llvm-svn: 107499
This commit is contained in:
parent
e537ddbdb4
commit
feaeebfb5d
|
@ -82,7 +82,7 @@ FileSpec::ResolveUsername (const char *src_path, char *dst_path, size_t dst_len)
|
|||
return len;
|
||||
}
|
||||
|
||||
char *first_slash = ::strchr (src_path, '/');
|
||||
const char *first_slash = ::strchr (src_path, '/');
|
||||
char remainder[PATH_MAX];
|
||||
|
||||
if (first_slash == NULL)
|
||||
|
|
Loading…
Reference in New Issue