diff options
author | Werner Lemberg <wl@gnu.org> | 2023-05-07 08:34:32 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2023-05-07 14:59:50 +0200 |
commit | 95d635eab1b08a0051de07b6c33067d2c1984848 (patch) | |
tree | be894874a3fc3a0c7888a04e98cc1907e48f1204 | |
parent | e05c056220972e84558c9bc712a9836ced870015 (diff) | |
download | freetype2-95d635eab1b08a0051de07b6c33067d2c1984848.tar.gz |
[truetype] Signature fixes.
-rw-r--r-- | src/truetype/ttinterp.c | 4 | ||||
-rw-r--r-- | src/truetype/ttinterp.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c index 3b7b21cca..0ac0f9e12 100644 --- a/src/truetype/ttinterp.c +++ b/src/truetype/ttinterp.c @@ -7670,8 +7670,10 @@ /* documentation is in ttinterp.h */ FT_EXPORT_DEF( FT_Error ) - TT_RunIns( TT_ExecContext exc ) + TT_RunIns( void* exec ) { + TT_ExecContext exc = (TT_ExecContext)exec; + FT_ULong ins_counter = 0; /* executed instructions counter */ FT_ULong num_twilight_points; FT_UShort i; diff --git a/src/truetype/ttinterp.h b/src/truetype/ttinterp.h index 891e2123c..48d493af8 100644 --- a/src/truetype/ttinterp.h +++ b/src/truetype/ttinterp.h @@ -528,7 +528,7 @@ FT_BEGIN_HEADER * invoked by the TrueType debugger. */ FT_EXPORT( FT_Error ) - TT_RunIns( TT_ExecContext exec ); + TT_RunIns( void* exec ); FT_END_HEADER |