From f4c5685a77b9bbe552ad55eaeaf168ce374119d4 Mon Sep 17 00:00:00 2001 From: "gspencer@google.com" Date: Thu, 16 Jul 2009 00:47:23 +0000 Subject: 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 --- o3d/core/cross/bitmap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'o3d/core/cross/bitmap.cc') 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(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 && -- cgit v1.1