diff options
author | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-04 00:08:32 +0000 |
---|---|---|
committer | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-04 00:08:32 +0000 |
commit | d30ff7484cf66d781dfa74bc979065f690cb8473 (patch) | |
tree | f167f232f05fc85c4da2f0b85c6b6434fc52a167 /o3d/core/cross/bitmap.cc | |
parent | 17a0c6c711c483a0b8e77adbb3f28adc5cd5c432 (diff) | |
download | chromium_src-d30ff7484cf66d781dfa74bc979065f690cb8473.zip chromium_src-d30ff7484cf66d781dfa74bc979065f690cb8473.tar.gz chromium_src-d30ff7484cf66d781dfa74bc979065f690cb8473.tar.bz2 |
This fixes some things that crept into the build as the scons build changed.
Review URL: http://codereview.chromium.org/160557
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22350 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/core/cross/bitmap.cc')
-rw-r--r-- | o3d/core/cross/bitmap.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/o3d/core/cross/bitmap.cc b/o3d/core/cross/bitmap.cc index 4dbf330..31ba128 100644 --- a/o3d/core/cross/bitmap.cc +++ b/o3d/core/cross/bitmap.cc @@ -194,7 +194,7 @@ void Bitmap::SetRect( const void* src_data, int src_pitch) { DCHECK(src_data); - DCHECK(level < num_mipmaps() && level >= 0); + DCHECK(level < static_cast<int>(num_mipmaps()) && level >= 0); unsigned mip_width; unsigned mip_height; Bitmap::GetMipSize(level, width(), height(), &mip_width, &mip_height); @@ -236,7 +236,7 @@ void Bitmap::SetFaceRect( const void* src_data, int src_pitch) { DCHECK(src_data); - DCHECK(level < num_mipmaps() && level >= 0); + DCHECK(level < static_cast<int>(num_mipmaps()) && level >= 0); unsigned mip_width; unsigned mip_height; Bitmap::GetMipSize(level, width(), height(), &mip_width, &mip_height); |