# HG changeset patch # User Sam Lantinga # Date 1255946998 0 # Node ID 2d00ed718720565664a10f1de5d5c4fe86eb7915 # Parent f00e178dfc9e916dd05898b02dedf24b0ceded4f Fixed compiler warnings diff -r f00e178dfc9e -r 2d00ed718720 src/video/SDL_blit.h --- a/src/video/SDL_blit.h Mon Oct 19 10:03:16 2009 +0000 +++ b/src/video/SDL_blit.h Mon Oct 19 10:09:58 2009 +0000 @@ -166,7 +166,7 @@ } while(0) /* Assemble R-G-B values into a specified pixel format and store them */ -#ifdef __NDS__ // FIXME +#ifdef __NDS__ /* FIXME */ #define PIXEL_FROM_RGB(Pixel, fmt, r, g, b) \ { \ Pixel = ((r>>fmt->Rloss)<Rshift)| \ @@ -180,7 +180,7 @@ ((g>>fmt->Gloss)<Gshift)| \ ((b>>fmt->Bloss)<Bshift); \ } -#endif // __NDS__ FIXME +#endif /* __NDS__ FIXME */ #define RGB565_FROM_RGB(Pixel, r, g, b) \ { \ Pixel = ((r>>3)<<11)|((g>>2)<<5)|(b>>3); \ @@ -330,7 +330,7 @@ } while(0) /* FIXME: this isn't correct, especially for Alpha (maximum != 255) */ -#ifdef __NDS__ // FIXME +#ifdef __NDS__ /* FIXME */ #define PIXEL_FROM_RGBA(Pixel, fmt, r, g, b, a) \ { \ Pixel = ((r>>fmt->Rloss)<Rshift)| \ @@ -346,7 +346,7 @@ ((b>>fmt->Bloss)<Bshift)| \ ((a>>fmt->Aloss)<Ashift); \ } -#endif // __NDS__ FIXME +#endif /* __NDS__ FIXME */ #define ASSEMBLE_RGBA(buf, bpp, fmt, r, g, b, a) \ { \ switch (bpp) { \