[vlc-commits] XCB apps: fix pointer aliasing
Rémi Denis-Courmont
git at videolan.org
Sun Oct 27 19:23:59 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Oct 27 20:13:28 2019 +0200| [5eb7ef8b1c836d4247770f16f4dc72a94d12cbca] | committer: Rémi Denis-Courmont
XCB apps: fix pointer aliasing
Tree functions return pointers to void pointers.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5eb7ef8b1c836d4247770f16f4dc72a94d12cbca
---
modules/services_discovery/xcb_apps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/services_discovery/xcb_apps.c b/modules/services_discovery/xcb_apps.c
index 6c44797e2a..594f6850ea 100644
--- a/modules/services_discovery/xcb_apps.c
+++ b/modules/services_discovery/xcb_apps.c
@@ -330,7 +330,7 @@ static void UpdateApps (services_discovery_t *sd)
xcb_window_t id = *(ent++);
struct app *app;
- struct app **pa = tfind (&id, &oldnodes, cmpapp);
+ void **pa = tfind (&id, &oldnodes, cmpapp);
if (pa != NULL) /* existing entry */
{
app = *pa;
More information about the vlc-commits
mailing list