summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-11-19 18:39:24 +0100
committerHaru <haru@dotalux.com>2016-11-19 21:08:11 +0100
commit564cf8ec2d295ccec0791f21031be7a93c78bef9 (patch)
tree766d830fdb2a2045638dab7b2df60421f7547654 /src/char/char.c
parentddd36bc9c37f0ee946441b953bb2bd89cbe70b2e (diff)
downloadhercules-564cf8ec2d295ccec0791f21031be7a93c78bef9.tar.gz
hercules-564cf8ec2d295ccec0791f21031be7a93c78bef9.tar.bz2
hercules-564cf8ec2d295ccec0791f21031be7a93c78bef9.tar.xz
hercules-564cf8ec2d295ccec0791f21031be7a93c78bef9.zip
Add fixed-size versions of the _int64 libconfig getters/setters
As we use int64 (instead of long long int) through the code, it's preferable if our libconfig interface does the same, avoiding us to create temporary interchange variables for that purpose. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index a43f783b5..d69ea0d53 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -5940,7 +5940,7 @@ bool char_config_read_player_new(const char *filename, const struct config_t *co
#else
const char *start_point_setting = "start_point_pre";
#endif
- long long int i64 = 0; // TODO: Temporary until the signature of libconfig->setting_lookup_int64 is changed to take a defined-size int (int64)
+ int64 i64 = 0;
nullpo_retr(false, filename);
nullpo_retr(false, config);