Skip to content

Commit

Permalink
Fixed build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 21, 2007
1 parent 4d9654e commit 42d5407
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion IMG_xcf.c
Expand Up @@ -642,7 +642,8 @@ int do_layer_surface (SDL_Surface * surface, SDL_RWops * src, xcf_header * head,
*row++ = 0xFF000000
| (((Uint32) (*p8)) << 16)
| (((Uint32) (*p8)) << 8)
| (((Uint32) (*p8++)) << 0);
| (((Uint32) (*p8)) << 0);
++p8;
}
break;
default:
Expand Down
2 changes: 1 addition & 1 deletion IMG_xpm.c
Expand Up @@ -310,7 +310,7 @@ do { \
/* read XPM from either array or RWops */
static SDL_Surface *load_xpm(char **xpm, SDL_RWops *src)
{
int start;
int start = 0;
SDL_Surface *image = NULL;
int index;
int x, y;
Expand Down

0 comments on commit 42d5407

Please sign in to comment.