shithub: freetype+ttf2subf

Download patch

ref: 0de5b376d7dba34a3f77a807792ac4266dcce675
parent: 34f4b20a154f8f7f7ed80e3f577d49c9cdddcd26
author: suzuki toshiya <[email protected]>
date: Sun Jan 9 15:31:22 EST 2011

[cache] Correct a type mismatch under non-inlined config.

* src/cache/ftcglyph.h (FTC_GCACHE_LOOKUP_CMP):
FTC_GCache_Lookup() takes the node via a pointer `FTC_Node*',
differently from cpp-macro FTC_CACHE_LOOKUP_CMP().

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-01-09  suzuki toshiya  <[email protected]>
+
+	[cache] Correct a type mismatch under non-inlined config.
+
+	* src/cache/ftcglyph.h (FTC_GCACHE_LOOKUP_CMP):
+	FTC_GCache_Lookup() takes the node via a pointer `FTC_Node*', 
+	differently from cpp-macro FTC_CACHE_LOOKUP_CMP().
+
 2010-01-06  suzuki toshiya  <[email protected]>
 
 	Update Jamfile to include Bzip2 support.
--- a/src/cache/ftcglyph.h
+++ b/src/cache/ftcglyph.h
@@ -307,7 +307,7 @@
    FT_BEGIN_STMNT                                                     \
                                                                       \
      error = FTC_GCache_Lookup( FTC_GCACHE( cache ), hash, gindex,    \
-                                FTC_GQUERY( query ), node );          \
+                                FTC_GQUERY( query ), &node );         \
                                                                       \
    FT_END_STMNT