From efaf42205c5578c45bd1249cf777d893623eae35 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 25 Jun 2014 20:25:28 +0200 Subject: [PATCH] w32: Add comment about a compiler warning -- --- src/assuan-support.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/assuan-support.c b/src/assuan-support.c index 0a11d9fa..745d2aa5 100644 --- a/src/assuan-support.c +++ b/src/assuan-support.c @@ -238,6 +238,12 @@ my_connect (assuan_context_t ctx, int sock, struct sockaddr *addr, } +/* Note for Windows: Ignore the incompatible pointer type warning for + my_read and my_write. Mingw has been changed to use int for + ssize_t on 32 bit systems while we use long. For 64 bit we use + int64_t while mingw uses __int64_t. It doe not matter at all + because under Windows long and int are both 32 bit even on 64 + bit. */ struct assuan_system_hooks _gpgme_assuan_system_hooks = { ASSUAN_SYSTEM_HOOKS_VERSION,