diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-15 12:04:44 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-15 12:04:44 +0000 |
commit | c30bb75ec50624429bff7b4106db4be0fda366d6 (patch) | |
tree | 6f306c5c794385ef22140b46483cdeee4cda809b /src/map | |
parent | 4087efc58d048ff41d7e80e69928aa4f3e810274 (diff) | |
download | hercules-c30bb75ec50624429bff7b4106db4be0fda366d6.tar.gz hercules-c30bb75ec50624429bff7b4106db4be0fda366d6.tar.bz2 hercules-c30bb75ec50624429bff7b4106db4be0fda366d6.tar.xz hercules-c30bb75ec50624429bff7b4106db4be0fda366d6.zip |
Fixed quite a few dozen "comparison is always true due to limited range of data type" warning with gcc on --enable-64bit mode.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15861 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/unit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/unit.h b/src/map/unit.h index f7b072739..6a0bf26f6 100644 --- a/src/map/unit.h +++ b/src/map/unit.h @@ -46,8 +46,13 @@ struct unit_data { }; struct view_data { +#ifdef __64BIT__ + unsigned int class_; +#endif unsigned short +#ifndef __64BIT__ class_, +#endif weapon, shield, //Or left-hand weapon. robe, |