summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/mw.h
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-20 13:39:23 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-20 13:39:23 +0000
commitc7b919a1b9ed2ae2137cf12b996d6f0c0ff88ba4 (patch)
tree6069aeb0e3c3e2452dcb98c6b638318405022200 /Gui/mplayer/mw.h
parentfb6a3dbf6cce110f17bd2eaa6d1ef3e98a454f95 (diff)
downloadmpv-c7b919a1b9ed2ae2137cf12b996d6f0c0ff88ba4.tar.bz2
mpv-c7b919a1b9ed2ae2137cf12b996d6f0c0ff88ba4.tar.xz
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/mplayer/mw.h')
-rw-r--r--Gui/mplayer/mw.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Gui/mplayer/mw.h b/Gui/mplayer/mw.h
index b78fb30685..f9541e3bbb 100644
--- a/Gui/mplayer/mw.h
+++ b/Gui/mplayer/mw.h
@@ -122,15 +122,15 @@ calclengthmmmmss:
inline void PutImage( txSample * bf,int x,int y,int max,int ofs )
{
int i=0,ix,iy;
- unsigned long * buf = NULL;
- unsigned long * drw = NULL;
- unsigned long tmp;
+ unsigned int * buf = NULL;
+ unsigned int * drw = NULL;
+ unsigned int tmp;
if ( ( !bf )||( bf->Image == NULL ) ) return;
i=( bf->Width * ( bf->Height / max ) ) * ofs;
- buf=(unsigned long *)mplDrawBuffer;
- drw=(unsigned long *)bf->Image;
+ buf=(unsigned int *)mplDrawBuffer;
+ drw=(unsigned int *)bf->Image;
for ( iy=y;iy < (int)(y+bf->Height / max);iy++ )
for ( ix=x;ix < (int)(x+bf->Width);ix++ )