From 564cf8ec2d295ccec0791f21031be7a93c78bef9 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 19 Nov 2016 18:39:24 +0100 Subject: 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 --- src/char/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/char') 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); -- cgit v1.2.3-60-g2f50