summaryrefslogtreecommitdiffstats
path: root/courgette/third_party
diff options
context:
space:
mode:
authorbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-21 01:03:43 +0000
committerbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-21 01:03:43 +0000
commit104a608acbf0fe57728f95d21c59ed25f61b0482 (patch)
treef62f6ce78a3379b043e0ff71cfccef0baa46d98f /courgette/third_party
parentc840d52c54743d3353e90136fe17b8c697083d25 (diff)
downloadchromium_src-104a608acbf0fe57728f95d21c59ed25f61b0482.zip
chromium_src-104a608acbf0fe57728f95d21c59ed25f61b0482.tar.gz
chromium_src-104a608acbf0fe57728f95d21c59ed25f61b0482.tar.bz2
Also build a 64-bit exe version of the 32-bit courgette
utility + library to support larger input sizes. BUG=63793 TEST=None Review URL: http://codereview.chromium.org/5096007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/third_party')
-rw-r--r--courgette/third_party/bsdiff_create.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/courgette/third_party/bsdiff_create.cc b/courgette/third_party/bsdiff_create.cc
index 21c45bb..111c9f0 100644
--- a/courgette/third_party/bsdiff_create.cc
+++ b/courgette/third_party/bsdiff_create.cc
@@ -215,7 +215,7 @@ BSDiffStatus CreateBinaryPatch(SourceStream* old_stream,
SinkStream* extra_bytes = patch_streams.stream(5);
const uint8* old = old_stream->Buffer();
- const int oldsize = old_stream->Remaining();
+ const int oldsize = static_cast<int>(old_stream->Remaining());
uint32 pending_diff_zeros = 0;
@@ -241,7 +241,7 @@ BSDiffStatus CreateBinaryPatch(SourceStream* old_stream,
V.clear();
const uint8* newbuf = new_stream->Buffer();
- const int newsize = new_stream->Remaining();
+ const int newsize = static_cast<int>(new_stream->Remaining());
int control_length = 0;
int diff_bytes_length = 0;