diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-20 13:39:23 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-20 13:39:23 +0000 |
commit | c7b919a1b9ed2ae2137cf12b996d6f0c0ff88ba4 (patch) | |
tree | 6069aeb0e3c3e2452dcb98c6b638318405022200 /Gui/skin | |
parent | fb6a3dbf6cce110f17bd2eaa6d1ef3e98a454f95 (diff) |
Gui and 64-bit issues patch from Gui and 64-bit issues
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6146 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/skin')
-rw-r--r-- | Gui/skin/font.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Gui/skin/font.c b/Gui/skin/font.c index eb904c5f1a..bace086e4a 100644 --- a/Gui/skin/font.c +++ b/Gui/skin/font.c @@ -124,8 +124,8 @@ txSample * fntRender( int id,int px,int sx,char * fmt,... ) 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 @@ txSample * fntRender( int id,int px,int sx,char * fmt,... ) 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 @@ txSample * fntRender( int id,int px,int sx,char * fmt,... ) 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++ ) |