summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dan Austin <danielaustin@google.com> 2016-03-28 21:40:50 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-03-28 21:40:50 +0000
commit1ccaed4d2ba9af76bb30b286880dba687e36dbdc (patch)
treed89ca735ec328b2dd3356b37b10e4ee995c93625
parente9aeab858e950fa33062ebabe43ddeb00c08d2f4 (diff)
parentec497765371f109f4a0b42a51a4b1460e6e67fc0 (diff)
Merge "Address const issues in preparation for libcxx rebase."
-rw-r--r--cmds/installd/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/installd/commands.cpp b/cmds/installd/commands.cpp
index 1b99582eaf..5ecadef380 100644
--- a/cmds/installd/commands.cpp
+++ b/cmds/installd/commands.cpp
@@ -1817,8 +1817,8 @@ int link_file(const char* relative_path, const char* from_base, const char* to_b
int calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path,
const char *instruction_set) {
- char *file_name_start;
- char *file_name_end;
+ const char *file_name_start;
+ const char *file_name_end;
file_name_start = strrchr(apk_path, '/');
if (file_name_start == NULL) {