summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-03-14 21:53:41 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-14 21:53:41 +0100
commit026ebe0214d6c1c9b3ddc22c35e9ac37e5f622bc (patch)
tree0ce9c3520be76db70f29a63fca0b895a028934af /tools
parentMerge "separate fbdev-specific code out from minui" (diff)
parentRecovery 64-bit compile issues (diff)
downloadandroid_bootable_recovery-026ebe0214d6c1c9b3ddc22c35e9ac37e5f622bc.tar
android_bootable_recovery-026ebe0214d6c1c9b3ddc22c35e9ac37e5f622bc.tar.gz
android_bootable_recovery-026ebe0214d6c1c9b3ddc22c35e9ac37e5f622bc.tar.bz2
android_bootable_recovery-026ebe0214d6c1c9b3ddc22c35e9ac37e5f622bc.tar.lz
android_bootable_recovery-026ebe0214d6c1c9b3ddc22c35e9ac37e5f622bc.tar.xz
android_bootable_recovery-026ebe0214d6c1c9b3ddc22c35e9ac37e5f622bc.tar.zst
android_bootable_recovery-026ebe0214d6c1c9b3ddc22c35e9ac37e5f622bc.zip
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 5277edd9c..aab30b2d0 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) {
const char *end = line + strlen(line);
while (end > line && isspace(end[-1])) --end;
if (number > 0) {
- fprintf(out, "%.*s%s%d%s", end - line, line, tag, number, end);
+ fprintf(out, "%.*s%s%d%s", (int)(end - line), line, tag, number, end);
} else {
- fprintf(out, "%.*s%s%s", end - line, line, tag, end);
+ fprintf(out, "%.*s%s%s", (int)(end - line), line, tag, end);
}
}