From 104a608acbf0fe57728f95d21c59ed25f61b0482 Mon Sep 17 00:00:00 2001 From: "bradnelson@google.com" Date: Tue, 21 Dec 2010 01:03:43 +0000 Subject: 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 --- courgette/courgette_tool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'courgette/courgette_tool.cc') diff --git a/courgette/courgette_tool.cc b/courgette/courgette_tool.cc index 9a0a5ea..5e37f30 100644 --- a/courgette/courgette_tool.cc +++ b/courgette/courgette_tool.cc @@ -68,7 +68,7 @@ void WriteSinkToFile(const courgette::SinkStream *sink, int count = file_util::WriteFile(output_path, reinterpret_cast(sink->Buffer()), - sink->Length()); + static_cast(sink->Length())); if (count == -1) Problem("Can't write output."); if (static_cast(count) != sink->Length()) -- cgit v1.1