summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dan Austin <danielaustin@google.com> 2016-03-24 12:19:25 -0700
committer Dan Austin <danielaustin@google.com> 2016-03-28 13:29:35 -0700
commitec497765371f109f4a0b42a51a4b1460e6e67fc0 (patch)
treecc1bc34a019d4bd50a962c90788a5dc52205fcc3
parent88521f6219b5a8c81e08c347bbdf1413b852fa17 (diff)
Address const issues in preparation for libcxx rebase.
Change-Id: I25a1e2946217049e9205589d6493e06362d2173b
-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) {