Fixed compiler warnings.

This commit is contained in:
jeefo 2020-11-23 10:48:44 +03:00
commit b75e1b8a23
9 changed files with 22 additions and 17 deletions

View file

@ -709,7 +709,7 @@ public:
}
bool isWorkaroundNeeded () {
return !plat.win32 && !Game::instance ().isDedicated ();
return !plat.win && !Game::instance ().isDedicated ();
}
};

View file

@ -70,13 +70,13 @@ private:
struct Args {
union {
float float_;
long long_;
int32 long_;
const char *chars_;
};
public:
Args (float value) : float_ (value) { }
Args (int value) : long_ (value) { }
Args (int32 value) : long_ (value) { }
Args (const char *value) : chars_ (value) { }
};