summaryrefslogtreecommitdiff
path: root/cmds/installd/installd.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2016-04-11 06:41:19 +0000
committer android-build-merger <android-build-merger@google.com> 2016-04-11 06:41:19 +0000
commitdba2879ffc47127265a3f5c0b7a4489cb2d9c1ba (patch)
tree5129c0bce44813f55426161a25a20c655eabf2e8 /cmds/installd/installd.cpp
parent8b53c14bc1852fe1dbddd52881e49b1be894f190 (diff)
parent6c444a40ec9725880580c789500cc069e3121d89 (diff)
Merge "Let\'s try casting to fix the build." into nyc-dev
am: 6c444a4 * commit '6c444a40ec9725880580c789500cc069e3121d89': Let's try casting to fix the build. Change-Id: Iee3fbfa51645706fabecff7a8c2fcd6fb787eb08
Diffstat (limited to 'cmds/installd/installd.cpp')
-rw-r--r--cmds/installd/installd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/installd.cpp b/cmds/installd/installd.cpp
index 9b2d143602..725efc6d3b 100644
--- a/cmds/installd/installd.cpp
+++ b/cmds/installd/installd.cpp
@@ -324,7 +324,7 @@ static int do_get_app_data_inode(char **arg, char reply[REPLY_MAX]) {
/* const char *uuid, const char *pkgname, int userid, int flags */
res = get_app_data_inode(parse_null(arg[0]), arg[1], atoi(arg[2]), atoi(arg[3]), &inode);
- snprintf(reply, REPLY_MAX, "%" PRId64, inode);
+ snprintf(reply, REPLY_MAX, "%" PRId64, (int64_t) inode);
return res;
}