From ec497765371f109f4a0b42a51a4b1460e6e67fc0 Mon Sep 17 00:00:00 2001 From: Dan Austin Date: Thu, 24 Mar 2016 12:19:25 -0700 Subject: Address const issues in preparation for libcxx rebase. Change-Id: I25a1e2946217049e9205589d6493e06362d2173b --- cmds/installd/commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmds') 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) { -- cgit v1.2.3-59-g8ed1b