aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-04-11 07:12:34 +0000
committerNIIBE Yutaka <[email protected]>2017-04-11 07:12:34 +0000
commit3133402241167ccad70fa888a47ffcbe04e7b4c5 (patch)
tree992c395b09d6cf9447eeb73b97aa69ad0fcdaeed
parentg10,tools: Fix bzlib.h include order. (diff)
downloadgnupg-3133402241167ccad70fa888a47ffcbe04e7b4c5.tar.gz
gnupg-3133402241167ccad70fa888a47ffcbe04e7b4c5.zip
dirmngr: Fix build for Windows.
* dirmngr/ldap-wrapper-ce.c (outstream_cookie_writer): Use gpgrt_ssize_t. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
-rw-r--r--dirmngr/ldap-wrapper-ce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/ldap-wrapper-ce.c b/dirmngr/ldap-wrapper-ce.c
index 478e6941b..1e42189eb 100644
--- a/dirmngr/ldap-wrapper-ce.c
+++ b/dirmngr/ldap-wrapper-ce.c
@@ -196,7 +196,7 @@ buffer_put_data (struct outstream_cookie_s *cookie, const char *src, int cnt)
/* The writer function for the outstream. This is used to transfer
the output of the ldap wrapper thread to the ksba reader object. */
-static ssize_t
+static gpgrt_ssize_t
outstream_cookie_writer (void *cookie_arg, const void *buffer, size_t size)
{
struct outstream_cookie_s *cookie = cookie_arg;