diff options
author | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-05-31 14:30:10 -0400 |
---|---|---|
committer | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-05-31 14:30:10 -0400 |
commit | c37fc13ea909a7a1315d3723ccac0e4146b3a0b2 (patch) | |
tree | 4779b26aa16fca0e5e96c42f69591fff2e66cff6 /src/amd_lx_exa.c | |
parent | 0953a855c7d20186a8efb6db4842eb777f6e0e56 (diff) |
Add extra GCC warning fu. -Wall cleanup.
Diffstat (limited to 'src/amd_lx_exa.c')
-rw-r--r-- | src/amd_lx_exa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd_lx_exa.c b/src/amd_lx_exa.c index 4b25908..7918523 100644 --- a/src/amd_lx_exa.c +++ b/src/amd_lx_exa.c @@ -625,7 +625,7 @@ static Bool lx_prepare_composite(int op, PicturePtr pSrc, PicturePtr pMsk, return TRUE; } -int lx_get_bpp_from_format(int format) { +static int lx_get_bpp_from_format(int format) { switch(format) { case CIMGP_SOURCE_FMT_8_8_8_8: @@ -993,7 +993,7 @@ static Bool lx_upload(PixmapPtr pDst, int x, int y, int w, int h, gp_set_solid_pattern(0); offset = ((unsigned long) dst) - ((unsigned long) pGeode->FBBase); - gp_color_bitmap_to_screen_blt(offset, 0, w, h, src, src_pitch); + gp_color_bitmap_to_screen_blt(offset, 0, w, h, (unsigned char *)src, src_pitch); return TRUE; } |