diff options
author | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-08 16:43:27 +0000 |
---|---|---|
committer | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-08 16:43:27 +0000 |
commit | d2fec012063ade5737c7075758574137e4d18410 (patch) | |
tree | c146eeb0aa3306931c044a569d5905698d91fef4 /o3d/converter/cross | |
parent | d1d12f3e73ab60a2bea0ad380cc227dbd165c3a6 (diff) | |
download | chromium_src-d2fec012063ade5737c7075758574137e4d18410.zip chromium_src-d2fec012063ade5737c7075758574137e4d18410.tar.gz chromium_src-d2fec012063ade5737c7075758574137e4d18410.tar.bz2 |
This fixes a bunch of warnings that are in our code, in order for the GYP build to succeed.
Review URL: http://codereview.chromium.org/118346
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17865 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/converter/cross')
-rw-r--r-- | o3d/converter/cross/converter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/converter/cross/converter.cc b/o3d/converter/cross/converter.cc index 511b69f..981b129 100644 --- a/o3d/converter/cross/converter.cc +++ b/o3d/converter/cross/converter.cc @@ -298,7 +298,7 @@ bool Verify(const FilePath& in_filename, // shader to the given output file, if there is one. if (options.condition && !out_filename.empty()) { if (file_util::WriteFile(out_filename, shader_source_in.c_str(), - shader_source_in.size()) == -1) { + static_cast<int>(shader_source_in.size())) == -1) { O3D_ERROR(&service_locator) << "Warning: Could not write to output file '" << FilePathToUTF8(in_filename).c_str() << "'"; } |