summaryrefslogtreecommitdiffstats
path: root/applypatch/utils.h
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2016-04-19 00:34:41 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-04-19 00:34:41 +0200
commit0231e7016dfe56625d6d01a1de468cd23d9cf01a (patch)
tree543fc407741ac3df540e3bfe4c36688e3bda6d80 /applypatch/utils.h
parentMerge "Fix IWYU errors." am: 51dcd0d (diff)
parentMerge "Fix google-runtime-int warnings." (diff)
downloadandroid_bootable_recovery-0231e7016dfe56625d6d01a1de468cd23d9cf01a.tar
android_bootable_recovery-0231e7016dfe56625d6d01a1de468cd23d9cf01a.tar.gz
android_bootable_recovery-0231e7016dfe56625d6d01a1de468cd23d9cf01a.tar.bz2
android_bootable_recovery-0231e7016dfe56625d6d01a1de468cd23d9cf01a.tar.lz
android_bootable_recovery-0231e7016dfe56625d6d01a1de468cd23d9cf01a.tar.xz
android_bootable_recovery-0231e7016dfe56625d6d01a1de468cd23d9cf01a.tar.zst
android_bootable_recovery-0231e7016dfe56625d6d01a1de468cd23d9cf01a.zip
Diffstat (limited to 'applypatch/utils.h')
-rw-r--r--applypatch/utils.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/applypatch/utils.h b/applypatch/utils.h
index bc97f1720..1c34edd97 100644
--- a/applypatch/utils.h
+++ b/applypatch/utils.h
@@ -17,14 +17,15 @@
#ifndef _BUILD_TOOLS_APPLYPATCH_UTILS_H
#define _BUILD_TOOLS_APPLYPATCH_UTILS_H
+#include <inttypes.h>
#include <stdio.h>
// Read and write little-endian values of various sizes.
void Write4(int value, FILE* f);
-void Write8(long long value, FILE* f);
+void Write8(int64_t value, FILE* f);
int Read2(void* p);
int Read4(void* p);
-long long Read8(void* p);
+int64_t Read8(void* p);
#endif // _BUILD_TOOLS_APPLYPATCH_UTILS_H