diff options
author | maf@google.com <maf@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 04:09:16 +0000 |
---|---|---|
committer | maf@google.com <maf@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 04:09:16 +0000 |
commit | 09175df729ebf3ee0cf79bb01577744674dd24c2 (patch) | |
tree | aea23c43be67ba51a67918d3f4c4762402831adc /o3d/tests/common | |
parent | 6e713f08e972d4b7cf730c83a53345a4b53e1262 (diff) | |
download | chromium_src-09175df729ebf3ee0cf79bb01577744674dd24c2.zip chromium_src-09175df729ebf3ee0cf79bb01577744674dd24c2.tar.gz chromium_src-09175df729ebf3ee0cf79bb01577744674dd24c2.tar.bz2 |
Lots of changes required to build on GCC in full paranoia mode with no warnings generated.
Review URL: http://codereview.chromium.org/165013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22581 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/tests/common')
-rw-r--r-- | o3d/tests/common/cross/test_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/tests/common/cross/test_utils.cc b/o3d/tests/common/cross/test_utils.cc index d34b28f..2a2a6af 100644 --- a/o3d/tests/common/cross/test_utils.cc +++ b/o3d/tests/common/cross/test_utils.cc @@ -58,7 +58,7 @@ uint8 *ReadFile(o3d::String file, size_t *data_size) { int bytes_read = fread(data, 1, file_size, fp); fclose(fp); - DCHECK_EQ(bytes_read, file_size); + DCHECK_EQ(static_cast<unsigned>(bytes_read), file_size); // Return file size and data if (data_size) *data_size = file_size; |