summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-23 03:24:32 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-23 03:24:32 +0000
commitd28762e63974a9dbe1e642829df185cdd40abde5 (patch)
tree93e3775658baccb87a804d89068c2c27315d1231 /src/char
parentec0953fdd84a6b85189e9698118ea8aa62d8bdc1 (diff)
downloadhercules-d28762e63974a9dbe1e642829df185cdd40abde5.tar.gz
hercules-d28762e63974a9dbe1e642829df185cdd40abde5.tar.bz2
hercules-d28762e63974a9dbe1e642829df185cdd40abde5.tar.xz
hercules-d28762e63974a9dbe1e642829df185cdd40abde5.zip
- Moved "#include <limits.h>" to cbasetypes.h to ensure it's included before checking if UINT_MAX has been defined.
- Minor changes in pc_readdb related to max_level being unsigned. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9561 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c2
-rw-r--r--src/char/int_guild.c2
-rw-r--r--src/char/int_party.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/char/char.c b/src/char/char.c
index a95a1cfda..b6dc3bdba 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -18,8 +18,8 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
-#include <limits.h>
+#include "../common/cbasetypes.h"
#include "../common/strlib.h"
#include "../common/core.h"
#include "../common/socket.h"
diff --git a/src/char/int_guild.c b/src/char/int_guild.c
index e6c4105c8..bc17f2ff1 100644
--- a/src/char/int_guild.c
+++ b/src/char/int_guild.c
@@ -4,8 +4,8 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
-#include <limits.h>
+#include "../common/cbasetypes.h"
#include "../common/mmo.h"
#include "../common/socket.h"
#include "../common/db.h"
diff --git a/src/char/int_party.c b/src/char/int_party.c
index be8c6a04c..ed4424d5e 100644
--- a/src/char/int_party.c
+++ b/src/char/int_party.c
@@ -4,8 +4,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <limits.h>
+#include "../common/cbasetypes.h"
#include "../common/mmo.h"
#include "../common/socket.h"
#include "../common/db.h"