office-gobmx/external/gpgmepp/Wincompatible-function-pointer-types.patch
Taichi Haradaguchi c9d3e68481 GPGME: upgrade to release 1.23.2
Change-Id: I56c419fbbe615ef57b7d8117ccdc32f0daddf95f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163840
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-02-27 14:03:51 +01:00

31 lines
782 B
Diff
Executable file

--- src/assuan-support.c
+++ src/assuan-support.c
@@ -126,7 +126,7 @@
}
-static gpgme_ssize_t
+static ssize_t
my_read (assuan_context_t ctx, assuan_fd_t fd, void *buffer, size_t size)
{
(void)ctx;
@@ -134,7 +134,7 @@
}
-static gpgme_ssize_t
+static ssize_t
my_write (assuan_context_t ctx, assuan_fd_t fd, const void *buffer, size_t size)
{
(void)ctx;
--- src/gpgme-w32spawn.c
+++ src/gpgme-w32spawn.c
@@ -24,7 +249,7 @@
handle = LoadLibraryA ("user32.dll");
if (handle)
{
- func = GetProcAddress (handle, "AllowSetForegroundWindow");
+ func = (BOOL (WINAPI *)(DWORD)) GetProcAddress (handle, "AllowSetForegroundWindow");
if (!func)
FreeLibrary (handle);
}