diff options
Diffstat (limited to 'courgette/third_party/bsdiff_create.cc')
-rw-r--r-- | courgette/third_party/bsdiff_create.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/courgette/third_party/bsdiff_create.cc b/courgette/third_party/bsdiff_create.cc index d6ea695..b883f73 100644 --- a/courgette/third_party/bsdiff_create.cc +++ b/courgette/third_party/bsdiff_create.cc @@ -22,6 +22,8 @@ --Stephen Adams <sra@chromium.org> 2015-08-03 - Extract qsufsort portion to a separate file. --Samuel Huang <huangs@chromium.org> + 2015-08-12 - Interface change to qsufsort search(). + --Samuel Huang <huangs@chromium.org> */ #include "courgette/third_party/bsdiff.h" @@ -151,7 +153,7 @@ BSDiffStatus CreateBinaryPatch(SourceStream* old_stream, scan += match_length; for (int scsc = scan; scan < newsize; ++scan) { match_length = qsuf::search<PagedArray<int>&>( - I, old, oldsize, newbuf + scan, newsize - scan, 0, oldsize, &pos); + I, old, oldsize, newbuf + scan, newsize - scan, &pos); for ( ; scsc < scan + match_length ; scsc++) if ((scsc + lastoffset < oldsize) && |