Nuke a lot of MSVC compiler warnings

This commit is contained in:
2015-01-10 21:30:16 -05:00
parent bd0dc55995
commit bd531f9ac4
47 changed files with 289 additions and 358 deletions

View File

@@ -24,8 +24,8 @@ static void GetMaskBitmaps(const sf::Image& srcImage, HBITMAP& hAndMaskBitmap, H
// Scan each pixel of the source bitmap and create the masks
sf::Color mainBitPixel;
for(int x = 0; x < srcImage.getSize().x; ++x) {
for(int y = 0; y < srcImage.getSize().y; ++y) {
for(size_t x = 0; x < srcImage.getSize().x; ++x) {
for(size_t y = 0; y < srcImage.getSize().y; ++y) {
mainBitPixel = srcImage.getPixel(x, y);
if(mainBitPixel.a == 0) {
SetPixel(hAndMaskDC, x, y, RGB(255, 255, 255));