From c30bb75ec50624429bff7b4106db4be0fda366d6 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 15 Apr 2012 12:04:44 +0000 Subject: 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 --- src/map/unit.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map') 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, -- cgit v1.2.3-70-g09d2