Bump version to 24.04.3.4
[LibreOffice.git] / external / gpgmepp / Wincompatible-function-pointer-types.patch
blobcd4f1117fd06feef08d633065efaf5aafb355e7c
1 --- src/assuan-support.c
2 +++ src/assuan-support.c
3 @@ -126,7 +126,7 @@
7 -static gpgme_ssize_t
8 +static ssize_t
9 my_read (assuan_context_t ctx, assuan_fd_t fd, void *buffer, size_t size)
11 (void)ctx;
12 @@ -134,7 +134,7 @@
16 -static gpgme_ssize_t
17 +static ssize_t
18 my_write (assuan_context_t ctx, assuan_fd_t fd, const void *buffer, size_t size)
20 (void)ctx;
21 --- src/gpgme-w32spawn.c
22 +++ src/gpgme-w32spawn.c
23 @@ -24,7 +249,7 @@
24 handle = LoadLibraryA ("user32.dll");
25 if (handle)
27 - func = GetProcAddress (handle, "AllowSetForegroundWindow");
28 + func = (BOOL (WINAPI *)(DWORD)) GetProcAddress (handle, "AllowSetForegroundWindow");
29 if (!func)
30 FreeLibrary (handle);