[Mplayer-cvslog] CVS: main/Gui/mplayer menu.h,1.12,1.13 mw.h,1.58,1.59
Zoltan Ponekker
pontscho at mplayerhq.hu
Thu May 23 16:46:09 CEST 2002
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mail:/var/tmp.root/cvs-serv15597/Gui/mplayer
Modified Files:
menu.h mw.h
Log Message:
applied 64bit patch from Ulrich Hecht <uli at suse.de>
Index: menu.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/menu.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- menu.h 20 May 2002 13:56:15 -0000 1.12
+++ menu.h 23 May 2002 14:46:06 -0000 1.13
@@ -9,8 +9,8 @@
void mplMenuDraw( wsParamDisplay )
{
- unsigned int * buf = NULL;
- unsigned int * drw = NULL;
+ uint32_t * buf = NULL;
+ uint32_t * drw = NULL;
int x,y,tmp;
if ( !appMPlayer.menuBase.Bitmap.Image ) return;
@@ -22,8 +22,8 @@
// ---
if ( mplMenuItem != -1 )
{
- buf=(unsigned int *)mplMenuDrawBuffer;
- drw=(unsigned int *)appMPlayer.menuSelected.Bitmap.Image;
+ buf=(uint32_t *)mplMenuDrawBuffer;
+ drw=(uint32_t *)appMPlayer.menuSelected.Bitmap.Image;
for ( y=appMPlayer.MenuItems[ mplMenuItem ].y; y < appMPlayer.MenuItems[ mplMenuItem ].y + appMPlayer.MenuItems[ mplMenuItem ].height; y++ )
for ( x=appMPlayer.MenuItems[ mplMenuItem ].x; x < appMPlayer.MenuItems[ mplMenuItem ].x + appMPlayer.MenuItems[ mplMenuItem ].width; x++ )
{
Index: mw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- mw.h 20 May 2002 13:39:23 -0000 1.58
+++ mw.h 23 May 2002 14:46:06 -0000 1.59
@@ -122,15 +122,15 @@
inline void PutImage( txSample * bf,int x,int y,int max,int ofs )
{
int i=0,ix,iy;
- unsigned int * buf = NULL;
- unsigned int * drw = NULL;
- unsigned int tmp;
+ uint32_t * buf = NULL;
+ uint32_t * drw = NULL;
+ uint32_t tmp;
if ( ( !bf )||( bf->Image == NULL ) ) return;
i=( bf->Width * ( bf->Height / max ) ) * ofs;
- buf=(unsigned int *)mplDrawBuffer;
- drw=(unsigned int *)bf->Image;
+ buf=(uint32_t *)mplDrawBuffer;
+ drw=(uint32_t *)bf->Image;
for ( iy=y;iy < (int)(y+bf->Height / max);iy++ )
for ( ix=x;ix < (int)(x+bf->Width);ix++ )
More information about the MPlayer-cvslog
mailing list