summaryrefslogtreecommitdiffstats
path: root/applypatch/utils.h
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-04-18 20:30:55 +0200
committerChih-Hung Hsieh <chh@google.com>2016-04-18 21:29:30 +0200
commit54a2747ef305c10d07d8db393125dbcbb461c428 (patch)
treead6f90bea569c5f01bbf9485e356dcdb035d79c5 /applypatch/utils.h
parentMerge "Fix IWYU errors." (diff)
downloadandroid_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.tar
android_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.tar.gz
android_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.tar.bz2
android_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.tar.lz
android_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.tar.xz
android_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.tar.zst
android_bootable_recovery-54a2747ef305c10d07d8db393125dbcbb461c428.zip
Diffstat (limited to '')
-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