summaryrefslogtreecommitdiff
path: root/cmds/installd/installd.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2016-04-11 00:30:24 -0600
committer Jeff Sharkey <jsharkey@android.com> 2016-04-11 00:30:38 -0600
commit7240a15f8a7eead09a3206baeb3d5eca5346c32f (patch)
tree61dd0e8620f25d55ce6bea15ad2ff16a684ac14f /cmds/installd/installd.cpp
parent2f720f7ec5c9d0b91defc85878e7330b10f8e89a (diff)
Let's try casting to fix the build.
Change-Id: Icd55458caefa27823b770f499a172ca96d1f7a0b
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 c7f4ffcdaa..5c29eb42b5 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;
}