summaryrefslogtreecommitdiff
path: root/cmds/installd/installd.cpp
diff options
context:
space:
mode:
author Dan Austin <danielaustin@google.com> 2016-03-28 15:09:02 -0700
committer Dan Austin <danielaustin@google.com> 2016-03-28 15:09:02 -0700
commit632350257cd93e34aa1e8b354c1535864b314c38 (patch)
treeb06b11c778bed6a8cbcfb119086a9be82aef084a /cmds/installd/installd.cpp
parent880e74ef01fea3def5a5c9b53784bba55e6f7ec0 (diff)
parent1ccaed4d2ba9af76bb30b286880dba687e36dbdc (diff)
resolve merge conflicts of 1ccaed4 to nyc-dev-plus-aosp
Change-Id: Ib30c59ff496ed76ec46f4c8f7d954d571bcbf4ae
Diffstat (limited to 'cmds/installd/installd.cpp')
-rw-r--r--cmds/installd/installd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/installd/installd.cpp b/cmds/installd/installd.cpp
index de3f54ab6d..a06214b268 100644
--- a/cmds/installd/installd.cpp
+++ b/cmds/installd/installd.cpp
@@ -65,8 +65,8 @@ bool 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) {