diff options
Diffstat (limited to 'src/prefix.cpp')
| -rw-r--r-- | src/prefix.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/prefix.cpp b/src/prefix.cpp index 3af45269c..f1fa3c2cd 100644 --- a/src/prefix.cpp +++ b/src/prefix.cpp @@ -356,7 +356,8 @@ br_strndup (char *str, size_t size) char * br_extract_dir (const char *path) { - char *end, *result; + const char *end; + char *result; br_return_val_if_fail (path != (char*)NULL, (char*)NULL); @@ -391,7 +392,8 @@ br_extract_dir (const char *path) char * br_extract_prefix (const char *path) { - char *end, *tmp, *result; + const char *end; + char *tmp, *result; br_return_val_if_fail (path != (char*)NULL, (char*)NULL); |
