[Scummvm-cvs-logs] SF.net SVN: scummvm:[48245] scummvm/trunk/sound/softsynth/opl/dbopl.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Fri Mar 12 14:10:37 CET 2010
Revision: 48245
http://scummvm.svn.sourceforge.net/scummvm/?rev=48245&view=rev
Author: lordhoto
Date: 2010-03-12 13:10:37 +0000 (Fri, 12 Mar 2010)
Log Message:
-----------
This hopefully fixes building on win64.
Modified Paths:
--------------
scummvm/trunk/sound/softsynth/opl/dbopl.cpp
Modified: scummvm/trunk/sound/softsynth/opl/dbopl.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/opl/dbopl.cpp 2010-03-12 10:31:58 UTC (rev 48244)
+++ scummvm/trunk/sound/softsynth/opl/dbopl.cpp 2010-03-12 13:10:37 UTC (rev 48245)
@@ -1452,7 +1452,7 @@
//Add back the bits for highest ones
if ( i >= 16 )
index += 9;
- Bitu blah = reinterpret_cast<long>( &(chip->chan[ index ]) );
+ Bitu blah = reinterpret_cast<size_t>( &(chip->chan[ index ]) );
ChanOffsetTable[i] = blah;
}
//Same for operators
@@ -1467,7 +1467,7 @@
chNum += 16 - 12;
Bitu opNum = ( i % 8 ) / 3;
DBOPL::Channel* chan = 0;
- Bitu blah = reinterpret_cast<long>( &(chan->op[opNum]) );
+ Bitu blah = reinterpret_cast<size_t>( &(chan->op[opNum]) );
OpOffsetTable[i] = ChanOffsetTable[ chNum ] + blah;
}
#if 0
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list