Fixed compiler warnings.
This commit is contained in:
parent
74f1ab866b
commit
b75e1b8a23
9 changed files with 22 additions and 17 deletions
|
|
@ -709,7 +709,7 @@ public:
|
|||
}
|
||||
|
||||
bool isWorkaroundNeeded () {
|
||||
return !plat.win32 && !Game::instance ().isDedicated ();
|
||||
return !plat.win && !Game::instance ().isDedicated ();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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) { }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue