aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-06-25 18:25:28 +0000
committerWerner Koch <[email protected]>2014-06-26 08:41:46 +0000
commitefaf42205c5578c45bd1249cf777d893623eae35 (patch)
tree64959e7d6ff1a74b593244dfeb07596de0290358
parentAdd new reason codes to the INV_RECP status code. (diff)
downloadgpgme-efaf42205c5578c45bd1249cf777d893623eae35.tar.gz
gpgme-efaf42205c5578c45bd1249cf777d893623eae35.zip
w32: Add comment about a compiler warning
--
-rw-r--r--src/assuan-support.c6
1 files changed, 6 insertions, 0 deletions
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,