dirmngr: Fix build for Windows.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 11 Apr 2017 07:12:34 +0000 (16:12 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 11 Apr 2017 07:12:34 +0000 (16:12 +0900)
* dirmngr/ldap-wrapper-ce.c (outstream_cookie_writer): Use
gpgrt_ssize_t.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
dirmngr/ldap-wrapper-ce.c

index 478e694..1e42189 100644 (file)
@@ -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;