aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_indev.cpp
diff options
context:
space:
mode:
authorSfan5 <sfan5@live.de>2014-04-15 19:49:32 +0200
committerSfan5 <sfan5@live.de>2014-04-15 21:34:53 +0200
commit118e2ae865bd7a0020586ef72d05bf14d66f4eae (patch)
tree5da3d9bc1d4e26e7e75f61b5ea10916161f29cba /src/mapgen_indev.cpp
parentd436502fa499255236350fc9204f9c508414704e (diff)
downloadminetest-118e2ae865bd7a0020586ef72d05bf14d66f4eae.tar.gz
minetest-118e2ae865bd7a0020586ef72d05bf14d66f4eae.tar.bz2
minetest-118e2ae865bd7a0020586ef72d05bf14d66f4eae.zip
Fix all warnings reported by clang
Diffstat (limited to 'src/mapgen_indev.cpp')
-rw-r--r--src/mapgen_indev.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mapgen_indev.cpp b/src/mapgen_indev.cpp
index ac5b4e811..f01547156 100644
--- a/src/mapgen_indev.cpp
+++ b/src/mapgen_indev.cpp
@@ -26,9 +26,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
///////////////////////////////////////////////////////////////////////////////
-void NoiseIndev::init(NoiseIndevParams *np, int seed, int sx, int sy, int sz) {
- Noise::init((NoiseParams*)np, seed, sx, sy, sz);
- this->npindev = np;
+void NoiseIndev::init(NoiseParams *np, int seed, int sx, int sy, int sz) {
+ Noise::init(np, seed, sx, sy, sz);
+ this->npindev = (NoiseIndevParams*) np;
}
NoiseIndev::NoiseIndev(NoiseIndevParams *np, int seed, int sx, int sy) : Noise(np, seed, sx, sy) {