From 628ae12d153744fca525e059ea707b46acee52c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Tue, 14 Dec 2010 12:04:33 +0000 Subject: [PATCH] ifix warning message. --- library/dialect/swi/fli/swi.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/library/dialect/swi/fli/swi.c b/library/dialect/swi/fli/swi.c index 611d567b5..7b195b6eb 100755 --- a/library/dialect/swi/fli/swi.c +++ b/library/dialect/swi/fli/swi.c @@ -478,11 +478,7 @@ X_API int PL_get_chars(term_t l, char **sp, unsigned flags) } else { if (!(flags & (CVT_INTEGER|CVT_NUMBER|CVT_ATOMIC|CVT_WRITE|CVT_WRITE_CANONICAL|CVT_ALL))) return cv_error(flags); -#if _WIN64 - snprintf(tmp,SWI_BUF_SIZE,"%I64d",IntegerOfTerm(t)); -#else - snprintf(tmp,SWI_BUF_SIZE,"%ld",IntegerOfTerm(t)); -#endif + snprintf(tmp,SWI_BUF_SIZE,Int_FORMAT,IntegerOfTerm(t)); } } else if (IsPairTerm(t)) { if (!(flags & (CVT_LIST|CVT_WRITE|CVT_WRITE_CANONICAL|CVT_ALL))) {