summaryrefslogtreecommitdiff
path: root/src/cff/cffobjs.c
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2023-05-06 18:57:42 +0200
committerWerner Lemberg <wl@gnu.org>2023-05-07 14:59:21 +0200
commitc041411917261ba05213c97469f0b530475ae08e (patch)
tree302f44597efd0eafb8d0f8e4d794883a1f5f59e3 /src/cff/cffobjs.c
parent8fe50c2adca74a4eca1501c831251283b4cc6d9b (diff)
downloadfreetype2-c041411917261ba05213c97469f0b530475ae08e.tar.gz
* src/cff/*: Clean up interface.
Ensure that all driver functions use the signature of the service or driver. This avoids pointer mismatches, which are technically undefined behaviour. Recent compilers are more picky in catching them as part of Control Flow Integrity tests.
Diffstat (limited to 'src/cff/cffobjs.c')
-rw-r--r--src/cff/cffobjs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cff/cffobjs.c b/src/cff/cffobjs.c
index 1f24f3d91..6d08620c4 100644
--- a/src/cff/cffobjs.c
+++ b/src/cff/cffobjs.c
@@ -1150,7 +1150,7 @@
}
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
- cff_done_blend( face );
+ cff_done_blend( cffface );
face->blend = NULL;
#endif
}