Mercurial > mplayer.hg
diff Gui/wm/ws.c @ 7706:90044efe01ee
- better dxr3 support
- fix oss subdevice bug
- add some warning fix from Dominik Mierzejewski <dominik@rangers.eu.org>
author | pontscho |
---|---|
date | Thu, 10 Oct 2002 14:06:49 +0000 |
parents | f46967928779 |
children | 27c9c440536f |
line wrap: on
line diff
--- a/Gui/wm/ws.c Thu Oct 10 12:47:33 2002 +0000 +++ b/Gui/wm/ws.c Thu Oct 10 14:06:49 2002 +0000 @@ -93,8 +93,8 @@ typedef void(*wsTConvFunc)( const unsigned char * in_pixels, unsigned char * out_pixels, unsigned num_pixels ); wsTConvFunc wsConvFunc = NULL; - -void rgb32torgb32( const unsigned char * src, unsigned char * dst,int src_size ) + +void rgb32torgb32( const unsigned char * src, unsigned char * dst,unsigned int src_size ) { memcpy( dst,src,src_size ); } // --- @@ -776,7 +776,7 @@ Atom type; int format; unsigned long nitems, bytesafter; - Atom * args = NULL; + unsigned char * args = NULL; if ( wsWMType == wsWMIceWM ) {