diff options
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 && |