diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-03-14 21:53:41 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-03-14 21:53:41 +0100 |
commit | 026ebe0214d6c1c9b3ddc22c35e9ac37e5f622bc (patch) | |
tree | 0ce9c3520be76db70f29a63fca0b895a028934af /updater | |
parent | Merge "separate fbdev-specific code out from minui" (diff) | |
parent | Recovery 64-bit compile issues (diff) | |
download | android_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 'updater')
-rw-r--r-- | updater/install.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/updater/install.c b/updater/install.c index 6a8a6b3fc..1455557ca 100644 --- a/updater/install.c +++ b/updater/install.c @@ -864,7 +864,7 @@ Value* FileGetPropFn(const char* name, State* state, int argc, Expr* argv[]) { buffer = malloc(st.st_size+1); if (buffer == NULL) { - ErrorAbort(state, "%s: failed to alloc %lld bytes", name, st.st_size+1); + ErrorAbort(state, "%s: failed to alloc %lld bytes", name, (long long)st.st_size+1); goto done; } @@ -877,7 +877,7 @@ Value* FileGetPropFn(const char* name, State* state, int argc, Expr* argv[]) { if (fread(buffer, 1, st.st_size, f) != st.st_size) { ErrorAbort(state, "%s: failed to read %lld bytes from %s", - name, st.st_size+1, filename); + name, (long long)st.st_size+1, filename); fclose(f); goto done; } |