Mercurial > sdl-ios-xcode
diff src/video/SDL_blit.c @ 1196:b81f54c3963f
Fixed compile warnings with gcc 4
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 08 Dec 2005 14:21:17 +0000 |
parents | 68f607298ca9 |
children | c9b51268668f |
line wrap: on
line diff
--- a/src/video/SDL_blit.c Tue Dec 06 14:36:39 2005 +0000 +++ b/src/video/SDL_blit.c Thu Dec 08 14:21:17 2005 +0000 @@ -116,7 +116,7 @@ } #ifdef MMX_ASMBLIT -static __inline__ void SDL_memcpyMMX(char* to,char* from,int len) +static __inline__ void SDL_memcpyMMX(Uint8 *to, const Uint8 *from, int len) { int i; @@ -132,7 +132,7 @@ SDL_memcpy(to, from, len&7); } -static __inline__ void SDL_memcpySSE(char* to,char* from,int len) +static __inline__ void SDL_memcpySSE(Uint8 *to, const Uint8 *from, int len) { int i;