diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-10 14:06:49 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-10 14:06:49 +0000 |
commit | 853b795d3c892d53f81440c0e89644beac9390cc (patch) | |
tree | d496999e8b0ed8bd251bbb6995540606a329d059 /Gui/wm/ws.c | |
parent | cc6c1614f40f5baf147a44d6e1af9162c44b1fd5 (diff) | |
download | mpv-853b795d3c892d53f81440c0e89644beac9390cc.tar.bz2 mpv-853b795d3c892d53f81440c0e89644beac9390cc.tar.xz |
- better dxr3 support
- fix oss subdevice bug
- add some warning fix from Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7707 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/wm/ws.c')
-rw-r--r-- | Gui/wm/ws.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c index a30eb2d7bd..744a496e4a 100644 --- a/Gui/wm/ws.c +++ b/Gui/wm/ws.c @@ -93,8 +93,8 @@ inline int wsSearch( Window win ); 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 @@ void wsSetLayer( Display * wsDisplay, Window win, int layer ) Atom type; int format; unsigned long nitems, bytesafter; - Atom * args = NULL; + unsigned char * args = NULL; if ( wsWMType == wsWMIceWM ) { |