diff options
author | Yabin Cui <yabinc@google.com> | 2018-01-30 15:02:39 -0800 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2018-01-30 15:02:39 -0800 |
commit | 922b874997dc1a45d7158d31f2dcc208e71719e7 (patch) | |
tree | a0a52d6fc6b04caa195eb665b9d5d8550d9314db /simpleperf/read_apk.h | |
parent | 1c24112b790617aa7f2eb95a27772345fdc29eb1 (diff) | |
download | extras-922b874997dc1a45d7158d31f2dcc208e71719e7.tar.gz |
simpleperf: fix mac build.
Bug: none
Test: none
Change-Id: Ia4e6dd0e44e19379d79a08a8555ad413ba879bf2
Diffstat (limited to 'simpleperf/read_apk.h')
-rw-r--r-- | simpleperf/read_apk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simpleperf/read_apk.h b/simpleperf/read_apk.h index 279909ee..26c266c3 100644 --- a/simpleperf/read_apk.h +++ b/simpleperf/read_apk.h @@ -37,7 +37,7 @@ class EmbeddedElf { EmbeddedElf(const std::string& filepath, const std::string& entry_name, - size_t entry_offset, + uint64_t entry_offset, size_t entry_size) : filepath_(filepath) , entry_name_(entry_name) @@ -73,7 +73,7 @@ class ApkInspector { // ELF file, then return pertinent info on the ELF. static bool FindOffsetInApkByName(const std::string& apk_path, const std::string& elf_filename, - off64_t* offset, uint32_t* uncompressed_length); + uint64_t* offset, uint32_t* uncompressed_length); static EmbeddedElf* FindElfInApkByOffset(const std::string& apk_path, uint64_t file_offset); static std::unique_ptr<EmbeddedElf> FindElfInApkByName(const std::string& apk_path, const std::string& elf_filename); |