diff options
author | Alex Deymo <deymo@google.com> | 2017-10-24 19:32:01 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-10-24 19:32:01 +0200 |
commit | 9d079c1254a386887f341b168da6fbfaac8ab094 (patch) | |
tree | 5d945855cccaff21eb4eda18ab643cdd8ae9f68b /applypatch/include/applypatch | |
parent | Merge "libdrm_platform is now libdrm" am: d830858952 (diff) | |
parent | Merge "Use SuffixArrayIndexInterface opaque type instead of the underlying data pointer." (diff) | |
download | android_bootable_recovery-9d079c1254a386887f341b168da6fbfaac8ab094.tar android_bootable_recovery-9d079c1254a386887f341b168da6fbfaac8ab094.tar.gz android_bootable_recovery-9d079c1254a386887f341b168da6fbfaac8ab094.tar.bz2 android_bootable_recovery-9d079c1254a386887f341b168da6fbfaac8ab094.tar.lz android_bootable_recovery-9d079c1254a386887f341b168da6fbfaac8ab094.tar.xz android_bootable_recovery-9d079c1254a386887f341b168da6fbfaac8ab094.tar.zst android_bootable_recovery-9d079c1254a386887f341b168da6fbfaac8ab094.zip |
Diffstat (limited to 'applypatch/include/applypatch')
-rw-r--r-- | applypatch/include/applypatch/imgdiff_image.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/applypatch/include/applypatch/imgdiff_image.h b/applypatch/include/applypatch/imgdiff_image.h index 3d29547cb..00a84f3a9 100644 --- a/applypatch/include/applypatch/imgdiff_image.h +++ b/applypatch/include/applypatch/imgdiff_image.h @@ -24,7 +24,7 @@ #include <string> #include <vector> -#include <bsdiff.h> +#include <bsdiff/bsdiff.h> #include <ziparchive/zip_archive.h> #include <zlib.h> @@ -98,7 +98,8 @@ class ImageChunk { * repeatedly, pass nullptr if not needed. */ static bool MakePatch(const ImageChunk& tgt, const ImageChunk& src, - std::vector<uint8_t>* patch_data, saidx_t** bsdiff_cache); + std::vector<uint8_t>* patch_data, + bsdiff::SuffixArrayIndexInterface** bsdiff_cache); private: const uint8_t* GetRawData() const; |