vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Oct 27 20:13:28 2019 +0200| [30bbe76294d8a069b6e66843984ec387db7ae0b1] | committer: Rémi Denis-Courmont
XCB keysym: fix pointer aliasing Tree functions return pointers to void pointers. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=30bbe76294d8a069b6e66843984ec387db7ae0b1 --- modules/video_output/xcb/keysym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/video_output/xcb/keysym.c b/modules/video_output/xcb/keysym.c index 7333bd9005..65cd9a4e1a 100644 --- a/modules/video_output/xcb/keysym.c +++ b/modules/video_output/xcb/keysym.c @@ -90,7 +90,7 @@ static int parse (FILE *in) if (val < 4) sym->uname[0] = '\0'; - struct keysym **psym = tsearch (sym, &root, cmpkey); + void **psym = tsearch (sym, &root, cmpkey); if (psym == NULL) abort (); if (*psym != sym) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
