Skip to content

Commit

Permalink
Fixing type
Browse files Browse the repository at this point in the history
  • Loading branch information
kenshaw committed Jan 18, 2024
1 parent 8eb2d69 commit 058ab24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resvg.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (r *Resvg) buildOpts() *C.resvg_options {
}
for _, font := range r.Fonts {
s := C.CString(string(font))
C.resvg_options_load_font_data(opts, s, C.ulong(len(font)))
C.resvg_options_load_font_data(opts, s, C.uintptr_t(len(font)))
C.free(unsafe.Pointer(s))
}
for _, fontFile := range r.FontFiles {
Expand Down

0 comments on commit 058ab24

Please sign in to comment.