aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/opl/dbopl.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2010-03-12 13:10:37 +0000
committerJohannes Schickel2010-03-12 13:10:37 +0000
commitbee3321ec44cbadf669987d81477b9a4313e1981 (patch)
tree5cbf3a27a5bd5ca8668642704d3325c0dc05e134 /sound/softsynth/opl/dbopl.cpp
parent314a119b9d506ac866bfeae7145c84bb253f3a65 (diff)
downloadscummvm-rg350-bee3321ec44cbadf669987d81477b9a4313e1981.tar.gz
scummvm-rg350-bee3321ec44cbadf669987d81477b9a4313e1981.tar.bz2
scummvm-rg350-bee3321ec44cbadf669987d81477b9a4313e1981.zip
This hopefully fixes building on win64.
svn-id: r48245
Diffstat (limited to 'sound/softsynth/opl/dbopl.cpp')
-rw-r--r--sound/softsynth/opl/dbopl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/softsynth/opl/dbopl.cpp b/sound/softsynth/opl/dbopl.cpp
index 49a5993d24..1170469ecd 100644
--- a/sound/softsynth/opl/dbopl.cpp
+++ b/sound/softsynth/opl/dbopl.cpp
@@ -1452,7 +1452,7 @@ void InitTables( void ) {
//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 @@ void InitTables( void ) {
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