Skip to content

Commit

Permalink
Updated for Visual C++ 6 build
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 15, 2004
1 parent 7a96ced commit 898081a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IMG_lbm.c
Expand Up @@ -285,7 +285,7 @@ SDL_Surface *IMG_LoadLBM_RW( SDL_RWops *src )
if ( nbrcolorsfinal > (1<<bmhd.planes) ) {
nbrcolorsfinal = (1<<bmhd.planes);
}
for ( i=nbcolors; i < nbrcolorsfinal; i++ )
for ( i=nbcolors; i < (Uint32)nbrcolorsfinal; i++ )
{
Image->format->palette->colors[i].r = Image->format->palette->colors[i%nbcolors].r;
Image->format->palette->colors[i].g = Image->format->palette->colors[i%nbcolors].g;
Expand Down
Binary file modified VisualC.zip
Binary file not shown.

0 comments on commit 898081a

Please sign in to comment.