Skip to content
Snippets Groups Projects
Commit a2ada8aa authored by Johannes Kauffmann's avatar Johannes Kauffmann Committed by Steve Lhomme
Browse files

text_renderer: freetype: fix function signature

All other _GetFamily functions have the last argument as const. It fixes
the following warning:

../modules/text_renderer/freetype/platform_fonts.c:925:26: warning: incompatible function pointer types ... [-Wincompatible-function-pointer-types]
    fs->pf_select_family = StaticMap_GetFamily;
                         ^ ~~~~~~~~~~~~~~~~~~~
parent 999ffde0
No related branches found
No related tags found
1 merge request!2967text_renderer: freetype: fix function signature
Pipeline #293453 passed with stage
in 13 minutes and 40 seconds
......@@ -794,7 +794,7 @@ SelectAndLoadFace( filter_t *p_filter, const text_style_t *p_style, uni_char_t c
#ifndef HAVE_GET_FONT_BY_FAMILY_NAME
static int StaticMap_GetFamily( vlc_font_select_t *fs, const char *psz_lcname,
vlc_family_t **pp_result )
const vlc_family_t **pp_result )
{
filter_t *p_filter = fs->p_filter;
filter_sys_t *p_sys = p_filter->p_sys;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment