summaryrefslogtreecommitdiffstats
path: root/applypatch/include
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-10-24 19:20:14 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-10-24 19:20:14 +0200
commit3d24b7bca60dff1ca07d3ee60cc9749fc61e9b5d (patch)
treefac24e397750262f930d105b854987406c4bbd55 /applypatch/include
parentMerge "libdrm_platform is now libdrm" (diff)
parentUse SuffixArrayIndexInterface opaque type instead of the underlying data pointer. (diff)
downloadandroid_bootable_recovery-3d24b7bca60dff1ca07d3ee60cc9749fc61e9b5d.tar
android_bootable_recovery-3d24b7bca60dff1ca07d3ee60cc9749fc61e9b5d.tar.gz
android_bootable_recovery-3d24b7bca60dff1ca07d3ee60cc9749fc61e9b5d.tar.bz2
android_bootable_recovery-3d24b7bca60dff1ca07d3ee60cc9749fc61e9b5d.tar.lz
android_bootable_recovery-3d24b7bca60dff1ca07d3ee60cc9749fc61e9b5d.tar.xz
android_bootable_recovery-3d24b7bca60dff1ca07d3ee60cc9749fc61e9b5d.tar.zst
android_bootable_recovery-3d24b7bca60dff1ca07d3ee60cc9749fc61e9b5d.zip
Diffstat (limited to 'applypatch/include')
-rw-r--r--applypatch/include/applypatch/imgdiff_image.h5
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;