[vlc-commits] XCB keysym: fix pointer aliasing
Rémi Denis-Courmont
git at videolan.org
Sun Oct 27 19:24:00 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | 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)
More information about the vlc-commits
mailing list