freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2-demos] master a94ddbe 1/2: * src/ttdebug.c (RunIns): Signatur


From: suzuki toshiya
Subject: [freetype2-demos] master a94ddbe 1/2: * src/ttdebug.c (RunIns): Signature fix.
Date: Sun, 9 Jul 2023 23:30:15 -0400 (EDT)

branch: master
commit a94ddbe24b0d6082a65295da1bfc631d53a7a80b
Author: Hin-Tak Leung <htl10@users.sourceforge.net>
Commit: Werner Lemberg <wl@gnu.org>

    * src/ttdebug.c (RunIns): Signature fix.
    
    A somewhat similar change to what happened in the FreeType library:
    
      commit 95d635eab1b08a0051de07b6c33067d2c1984848
      Author: Werner Lemberg <wl@gnu.org>
      Date:   Sun May 7 08:34:32 2023 +0200
    
          [truetype] Signature fixes.
    
    Signed-off-by: Hin-Tak Leung <htl10@users.sourceforge.net>
---
 src/ttdebug.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/ttdebug.c b/src/ttdebug.c
index 27cc3d4..0f155e0 100644
--- a/src/ttdebug.c
+++ b/src/ttdebug.c
@@ -1978,8 +1978,10 @@
 
 
   static FT_Error
-  RunIns( TT_ExecContext  exc )
+  RunIns( void*  exec )
   {
+    TT_ExecContext  exc = (TT_ExecContext)exec;
+
     FT_Int  key;
 
     FT_Bool  really_leave;
@@ -3049,7 +3051,7 @@
 
     FT_Set_Debug_Hook( library,
                        FT_DEBUG_HOOK_TRUETYPE,
-                       (FT_DebugHook_Func)RunIns );
+                       RunIns );
 
     printf( "%s\n"
             "press key `h' or `?' for help\n"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]