diff options
author | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-16 00:47:23 +0000 |
---|---|---|
committer | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-16 00:47:23 +0000 |
commit | f4c5685a77b9bbe552ad55eaeaf168ce374119d4 (patch) | |
tree | b6203b3cb15646380bbc8eb75b097e382c772616 /o3d/core/cross/bitmap.cc | |
parent | bb9d6efee27fa5a74a7c697a43ab1ff8e55eba9f (diff) | |
download | chromium_src-f4c5685a77b9bbe552ad55eaeaf168ce374119d4.zip chromium_src-f4c5685a77b9bbe552ad55eaeaf168ce374119d4.tar.gz chromium_src-f4c5685a77b9bbe552ad55eaeaf168ce374119d4.tar.bz2 |
This changes how we do gyp targets that generate code because GYP isn't
yet consistent across platforms, and the old way won't work on the Mac.
Also, updated to include bitmap.idl in the idl build, and fixed a signed/unsigned
mismatch warning in bitmap.cc
Review URL: http://codereview.chromium.org/155612
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20830 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/core/cross/bitmap.cc')
-rw-r--r-- | o3d/core/cross/bitmap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/core/cross/bitmap.cc b/o3d/core/cross/bitmap.cc index d3d1499..61ac355 100644 --- a/o3d/core/cross/bitmap.cc +++ b/o3d/core/cross/bitmap.cc @@ -385,7 +385,7 @@ void Bitmap::BilinearInterpolateScale(const uint8* src_img_data, base_y = -base_y; int base_floor_y = static_cast<int>(std::floor(base_y)); - for (unsigned int c = 0; c < components; c++) { + for (int c = 0; c < components; c++) { // if base_x and base_y are integers, which means this point // exists in src_img, just copy the original values. if (base_x - base_floor_x < kEpsilon && |