Mercurial > sdl-ios-xcode
diff src/video/SDL_video.c @ 3196:413672b09bb3
Fixed some compile errors and warnings under Visual C++
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 12 Jun 2009 08:41:48 +0000 |
parents | 51750b7a966f |
children | 94fb40a4a9a7 |
line wrap: on
line diff
--- a/src/video/SDL_video.c Thu Jun 11 20:08:33 2009 +0000 +++ b/src/video/SDL_video.c Fri Jun 12 08:41:48 2009 +0000 @@ -1630,7 +1630,7 @@ if (surface->format->Amask || !(surface->map->info.flags & (SDL_COPY_COLORKEY | SDL_COPY_MASK | SDL_COPY_BLEND))) { - int it; + Uint32 it; int pfmt; /* Pixel formats, sorted by best first */ @@ -1724,7 +1724,7 @@ } } else { /* Need a format with alpha */ - int it; + Uint32 it; int apfmt; /* Pixel formats with alpha, sorted by best first */