Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 875871 Details for
Bug 916515
net-misc/freerdp-2.11.1 wlfreerdp.c:637:19: error: incompatible function pointer types assigning to 'OBJECT_NEW_FN' (aka 'void *(*)(void *)') from 'void *(const void *)'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
possible patch
0001-patch-for-Wincompatible-function-pointer-types.patch (text/plain), 835 bytes, created by
0xfdfefafd
on 2023-11-28 12:14:49 UTC
(
hide
)
Description:
possible patch
Filename:
MIME Type:
Creator:
0xfdfefafd
Created:
2023-11-28 12:14:49 UTC
Size:
835 bytes
patch
obsolete
>From 4166c61be6814d70b21464f1872d64b3b6b78616 Mon Sep 17 00:00:00 2001 >From: William Blake <you@example.com> >Date: Tue, 28 Nov 2023 15:00:21 +0300 >Subject: [PATCH] patch for -Wincompatible-function-pointer-types > >add explicit cast to OBJECT_NEW_FN type >--- > 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 65e29bc51..52f8f1858 100644 >--- a/client/Wayland/wlfreerdp.c >+++ b/client/Wayland/wlfreerdp.c >@@ -634,7 +634,7 @@ static BOOL wlf_client_new(freerdp* instance, rdpContext* context) > return FALSE; > > obj = ArrayList_Object(wfl->events); >- obj->fnObjectNew = uwac_event_clone; >+ obj->fnObjectNew = (OBJECT_NEW_FN) uwac_event_clone; > obj->fnObjectFree = free; > > InitializeCriticalSection(&wfl->critical); >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 916515
:
873696
|
873697
|
875867
| 875871