[prev in list] [next in list] [prev in thread] [next in thread]
List: gnupg-devel
Subject: Re: [PATCH] w32: Fix clang compiler error with function pointer
From: Biswapriyo Nath via Gnupg-devel <gnupg-devel () gnupg ! org>
Date: 2023-05-31 5:24:28
Message-ID: CALK-3mLdVsCGk0Kg0rsdKLXC0Q8FYyTjHURsixWVq4rrDK9oOg () mail ! gmail ! com
[Download RAW message or body]
> Oh, right. Your patch actually has two changes. You should also be
> able to also cast the pointer to "(BOOL (*)(DWORD))" without naming the
> type. E.g.
>
> func = (BOOL (*)(DWORD)) GetProcAddress (handle, "AllowSetForegroundWindow");
Yeah, that would also work. I just add the type to make it little bit
more readable.
_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic