Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d5710a4

Browse filesBrowse files
committed
Fix for Python 3
1 parent be1d7dd commit d5710a4
Copy full SHA for d5710a4

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/ft2font.cpp

Copy file name to clipboardExpand all lines: src/ft2font.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,7 @@ FT2Font::get_glyph_name(const Py::Tuple & args)
16171617
args.verify_length(1);
16181618

16191619
char buffer[128];
1620-
FT_UInt glyph_number = Py::Int(args[0]);
1620+
FT_UInt glyph_number = (FT_UInt)(unsigned long long)Py::Int(args[0]);
16211621

16221622
if (!FT_HAS_GLYPH_NAMES(face))
16231623
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.