From 70e4141c0d4bcb3df3e80f1af5aa08f1d6b93575 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Wed, 13 Sep 2017 11:01:51 +0900 Subject: [PATCH] [memory debug] incompatible change of internal API for 16bit & ILP64 systems. ft_mem_primes[] is originally typed to FT_Int, it could not track the memory allocation on 16bit (I16-LP32) system. --- src/base/ftdbgmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/ftdbgmem.c b/src/base/ftdbgmem.c index 242246bfd..90417548e 100644 --- a/src/base/ftdbgmem.c +++ b/src/base/ftdbgmem.c @@ -149,7 +149,7 @@ * Prime numbers are ugly to handle. It would be better to implement * L-Hashing, which is 10% faster and doesn't require divisions. */ - static const FT_Int ft_mem_primes[] = + static const FT_Int32 ft_mem_primes[] = { 7, 11,