diff options
author | Treeki <treeki@gmail.com> | 2012-10-22 05:02:49 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-10-22 05:02:49 +0200 |
commit | 9fa22baae0d44278cd73a54c1c4a11eac9255bff (patch) | |
tree | 124897f7b1b7d6384383aa18f98f53e93767c48a /src/magicplatform.cpp | |
parent | 96911438b1f4bf525c38bb548349d75f82e5fd3f (diff) | |
download | kamek-9fa22baae0d44278cd73a54c1c4a11eac9255bff.tar.gz kamek-9fa22baae0d44278cd73a54c1c4a11eac9255bff.zip |
fixes to make Newer compile with Clang... kinda
Diffstat (limited to 'src/magicplatform.cpp')
-rw-r--r-- | src/magicplatform.cpp | 8 |
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; |