diff options
author | Chih-hung Hsieh <chh@google.com> | 2016-04-19 00:39:41 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-04-19 00:39:41 +0200 |
commit | 7140a083c7d37a86ae95bb671fd5dd932b272e6b (patch) | |
tree | 3fca7568ae457f415fe41088a497f7de328afd54 /applypatch/utils.h | |
parent | Merge "Fix IWYU errors." am: 51dcd0d am: 405db92 (diff) | |
parent | Merge "Fix google-runtime-int warnings." am: a1f4a1e am: bcad1d1 (diff) | |
download | android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.gz android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.bz2 android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.lz android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.xz android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.zst android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.zip |
Diffstat (limited to '')
-rw-r--r-- | applypatch/utils.h | 5 |
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 |