comparison src/video/x11/SDL_x11yuv.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 045f186426e1
children 0c105755b110
comparison
equal deleted inserted replaced
1195:bb6791b0a268 1196:b81f54c3963f
101 SDL_Overlay *X11_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface *display) 101 SDL_Overlay *X11_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface *display)
102 { 102 {
103 SDL_Overlay *overlay; 103 SDL_Overlay *overlay;
104 struct private_yuvhwdata *hwdata; 104 struct private_yuvhwdata *hwdata;
105 int xv_port; 105 int xv_port;
106 int i, j, k; 106 unsigned int i, j, k;
107 int adaptors; 107 unsigned int adaptors;
108 SDL_NAME(XvAdaptorInfo) *ainfo; 108 SDL_NAME(XvAdaptorInfo) *ainfo;
109 int bpp; 109 int bpp;
110 #ifndef NO_SHARED_MEMORY 110 #ifndef NO_SHARED_MEMORY
111 XShmSegmentInfo *yuvshm; 111 XShmSegmentInfo *yuvshm;
112 #endif 112 #endif