File 0005-client-wayland-fix-const-correctness.patch of Package freerdp2

From: akallabeth <akallabeth@posteo.net>
Date: Thu, 23 May 2024 09:30:33 +0200
Subject: [client,wayland] fix const correctness

(cherry picked from commit 67818bddb31900cdf3acb26cb0b673cc90b71cc9)
---
 client/Wayland/wlfreerdp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/Wayland/wlfreerdp.c b/client/Wayland/wlfreerdp.c
index 65e29bc..5988aed 100644
--- a/client/Wayland/wlfreerdp.c
+++ b/client/Wayland/wlfreerdp.c
@@ -587,7 +587,7 @@ static void wlf_client_free(freerdp* instance, rdpContext* context)
 	DeleteCriticalSection(&wlf->critical);
 }
 
-static void* uwac_event_clone(const void* val)
+static void* uwac_event_clone(void* val)
 {
 	UwacEvent* copy;
 	UwacEvent* ev = (UwacEvent*)val;
openSUSE Build Service is sponsored by