[Mplayer-cvslog] CVS: main/Gui/skin font.c,1.6,1.7

Zoltan Ponekker pontscho at mplayerhq.hu
Mon May 20 15:39:26 CEST 2002


Update of /cvsroot/mplayer/main/Gui/skin
In directory mail:/var/tmp.root/cvs-serv30588/Gui/skin

Modified Files:
	font.c 
Log Message:
Gui and 64-bit issues patch from Gui and 64-bit issues

Index: font.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/skin/font.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- font.c	1 May 2002 09:29:00 -0000	1.6
+++ font.c	20 May 2002 13:39:23 -0000	1.7
@@ -124,8 +124,8 @@
  txSample 	 tmp2;
  char            p[512];
  va_list         ap;
- unsigned long * ibuf;
- unsigned long * obuf;
+ unsigned int * ibuf;
+ unsigned int * obuf;
  int             i,x,y;
  int             oy = 0, ox = 0, dx = 0;
 
@@ -144,8 +144,8 @@
  tmp->ImageSize=tmp->Width * tmp->Height * 4;
  if ( ( tmp->Image=malloc( tmp->ImageSize ) ) ==  NULL ) return NULL;
 
- obuf=(unsigned long *)tmp->Image;
- ibuf=(unsigned long *)Fonts[id]->Bitmap.Image;
+ obuf=(unsigned int *)tmp->Image;
+ ibuf=(unsigned int *)Fonts[id]->Bitmap.Image;
  for ( i=0;i < (int)strlen( p );i++ )
   {
    char c = p[i];
@@ -163,8 +163,8 @@
    tmp2.ImageSize=sx * tmp->Height * 4;
    if ( ( tmp2.Image=malloc( tmp2.ImageSize ) ) ==  NULL ) { free( tmp->Image ); return NULL; }
 
-   obuf=(unsigned long *)tmp->Image;
-   ibuf=(unsigned long *)tmp2.Image;
+   obuf=(unsigned int *)tmp->Image;
+   ibuf=(unsigned int *)tmp2.Image;
    oy=0;
 
    for ( y=0;y < tmp->Height;y++ )




More information about the MPlayer-cvslog mailing list