all: remove some casts of function pointer to void *
These casts are unnecessary, and may safely be removed. Found by enabling -Wpedantic on clang 3.7. Tested with FATE. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
@@ -1087,7 +1087,7 @@ static int draw_glyphs(DrawTextContext *s, AVFrame *frame,
|
||||
continue;
|
||||
|
||||
dummy.code = code;
|
||||
glyph = av_tree_find(s->glyphs, &dummy, (void *)glyph_cmp, NULL);
|
||||
glyph = av_tree_find(s->glyphs, &dummy, glyph_cmp, NULL);
|
||||
|
||||
bitmap = borderw ? glyph->border_bitmap : glyph->bitmap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user