mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix all warnings reported by clang
This commit is contained in:
parent
d436502fa4
commit
118e2ae865
27 changed files with 49 additions and 63 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue