summaryrefslogtreecommitdiff
path: root/src/magicplatform.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/magicplatform.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/magicplatform.cpp b/src/magicplatform.cpp
index e4f3dc0..420aefa 100644
--- a/src/magicplatform.cpp
+++ b/src/magicplatform.cpp
@@ -158,11 +158,11 @@ int daEnMagicPlatform_c::onCreate() {
case Solid:
physics.setup(this,
0.0f, 0.0f, fWidth, -fHeight,
- &PhysCB1, &PhysCB2, &PhysCB3, 1, 0, 0);
+ (void*)&PhysCB1, (void*)&PhysCB2, (void*)&PhysCB3, 1, 0, 0);
- physics.callback1 = &PhysCB4;
- physics.callback2 = &PhysCB5;
- physics.callback3 = &PhysCB6;
+ physics.callback1 = (void*)&PhysCB4;
+ physics.callback2 = (void*)&PhysCB5;
+ physics.callback3 = (void*)&PhysCB6;
physics.addToList();
break;