-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to casting patch for tags pointer
- Loading branch information
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- agg2/font_freetype/agg_font_freetype.cpp.orig 2024-03-06 10:16:58 | ||
+++ agg2/font_freetype/agg_font_freetype.cpp 2024-09-11 09:17:23 | ||
@@ -150,7 +150,7 @@ | ||
+++ agg2/font_freetype/agg_font_freetype.cpp 2024-09-10 21:13:37 | ||
@@ -171,7 +171,7 @@ | ||
v_control = v_start; | ||
|
||
FT_Vector* point; | ||
FT_Vector* limit; | ||
- char* tags; | ||
+ unsigned char* tags; | ||
point = outline.points + first; | ||
- tags = outline.tags + first; | ||
+ tags = (char *)outline.tags + first; | ||
tag = FT_CURVE_TAG(tags[0]); | ||
|
||
int n; // index of contour in outline | ||
int first; // index of first point in contour | ||
// A contour cannot start with a cubic control point! |