From: Eric Sunshine Date: Mon, 27 Sep 2021 02:58:07 GMT Subject: Re: [PATCH v3 1/2] lazyload.h: fix warnings about mismatching function pointer types Message-ID: In-Reply-To: <20210926100512.58924-2-carenas@gmail.com> On Sun, Sep 26, 2021 at 6:05 AM Carlo Marcelo Arenas Belón wrote: > Here, GCC warns about every use of the INIT_PROC_ADDR macro, for example: > > In file included from compat/mingw.c:8: > [...] > (message wrapper for convenience). Insert a cast to keep the compiler > happy. A cast is fine in these cases because they are generic function > pointer values that have been looked up in a DLL. s/wrapper/wrapped/ > Helped-by: Carlo Marcelo Arenas Belón > Signed-off-by: Johannes Sixt