summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2017-09-13 11:01:51 +0900
committersuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2017-09-13 17:11:13 +0900
commit70e4141c0d4bcb3df3e80f1af5aa08f1d6b93575 (patch)
tree72811b22e5f033b3ebff2db5abfc70ad86867646
parentc6569d4423b99b6935ec90bbd067f848c327c6fa (diff)
downloadfreetype2-70e4141c0d4bcb3df3e80f1af5aa08f1d6b93575.tar.gz
[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.
-rw-r--r--src/base/ftdbgmem.c2
1 files changed, 1 insertions, 1 deletions
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,