aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMark Salyzyn2014-03-14 11:39:48 -0500
committerMark Salyzyn2014-03-14 15:51:39 -0500
commitf3bb31c32fa879ccce358c15c93b7bd8582d1756 (patch)
tree0ce9c3520be76db70f29a63fca0b895a028934af /tools
parenta7266ef0b1804e3ddeea58bda9a416e807a55f88 (diff)
downloadplatform-bootable-recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar.gz
platform-bootable-recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.tar.xz
platform-bootable-recovery-f3bb31c32fa879ccce358c15c93b7bd8582d1756.zip
Recovery 64-bit compile issues
Change-Id: I92d5abd1a628feab3b0246924fab7f97ba3b9d34
Diffstat (limited to 'tools')
-rw-r--r--tools/ota/add-property-tag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ota/add-property-tag.c b/tools/ota/add-property-tag.c
index 5277edd9..aab30b2d 100644
--- a/tools/ota/add-property-tag.c
+++ b/tools/ota/add-property-tag.c
@@ -57,9 +57,9 @@ void write_tagged(FILE *out, const char *line, const char *tag, int number) {
57 const char *end = line + strlen(line); 57 const char *end = line + strlen(line);
58 while (end > line && isspace(end[-1])) --end; 58 while (end > line && isspace(end[-1])) --end;
59 if (number > 0) { 59 if (number > 0) {
60 fprintf(out, "%.*s%s%d%s", end - line, line, tag, number, end); 60 fprintf(out, "%.*s%s%d%s", (int)(end - line), line, tag, number, end);
61 } else { 61 } else {
62 fprintf(out, "%.*s%s%s", end - line, line, tag, end); 62 fprintf(out, "%.*s%s%s", (int)(end - line), line, tag, end);
63 } 63 }
64} 64}
65 65