[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] int-not32-changes-2017 eeeec2d 20/23: [memory debug] incompa
From: |
suzuki toshiya |
Subject: |
[freetype2] int-not32-changes-2017 eeeec2d 20/23: [memory debug] incompatible change of internal API for 16bit & ILP64 systems. |
Date: |
Tue, 12 Sep 2017 22:13:37 -0400 (EDT) |
branch: int-not32-changes-2017
commit eeeec2d76072aeaaafc87bd1685784026dd02421
Author: suzuki toshiya <address@hidden>
Commit: suzuki toshiya <address@hidden>
[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 242246b..9041754 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,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] int-not32-changes-2017 eeeec2d 20/23: [memory debug] incompatible change of internal API for 16bit & ILP64 systems.,
suzuki toshiya <=