diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2017-09-13 11:01:51 +0900 |
---|---|---|
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2017-09-13 17:11:13 +0900 |
commit | 70e4141c0d4bcb3df3e80f1af5aa08f1d6b93575 (patch) | |
tree | 72811b22e5f033b3ebff2db5abfc70ad86867646 | |
parent | c6569d4423b99b6935ec90bbd067f848c327c6fa (diff) | |
download | freetype2-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.c | 2 |
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, |