From d4266fb10d2557cfd3f56356ce867f16c86107cc Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 22 Aug 2016 01:16:09 +0200 Subject: Temporary quick-fix for a warning in the linux builds - libconfig uses 'long long' for its 64 bit lookup/set/get functions, rather than a well-defined size integer (such as int64_t). GCC doesn't like the use of an int64_t* where a long long* is required, especially on linux x86_64, where int64_t is typedeffed as long int - In future, the function signature will be changed, so we can use int64 normally. Signed-off-by: Haru --- src/char/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/char/char.c b/src/char/char.c index 3e78d768f..126ddc149 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -5919,7 +5919,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 - int64 i64 = 0; + long long int i64 = 0; // TODO: Temporary until the signature of libconfig->setting_lookup_int64 is changed to take a defined-size int (int64) nullpo_retr(false, filename); nullpo_retr(false, config); -- cgit v1.2.3-60-g2f50