diff options
author | Werner Koch <[email protected]> | 2010-11-02 16:27:46 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-11-02 16:27:46 +0000 |
commit | 987993a38d12f6de052683711e673fa6bbbdae86 (patch) | |
tree | fd71f8e2a821a54a0f4c0b2243f5ad4c74683c97 /src/gpgme.c | |
parent | 2010-10-28 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-987993a38d12f6de052683711e673fa6bbbdae86.tar.gz gpgme-987993a38d12f6de052683711e673fa6bbbdae86.zip |
First take on changes to allow building with MSC for W32CE.
Fixed regression in plain W32 build.
Diffstat (limited to 'src/gpgme.c')
-rw-r--r-- | src/gpgme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpgme.c b/src/gpgme.c index b6a518ff..7feb3be9 100644 --- a/src/gpgme.c +++ b/src/gpgme.c @@ -211,7 +211,7 @@ gpgme_result_ref (void *result) if (! result) return; - data = result - sizeof (struct ctx_op_data); + data = (void*)((char*)result - sizeof (struct ctx_op_data)); assert (data->magic == CTX_OP_DATA_MAGIC); @@ -229,7 +229,7 @@ gpgme_result_unref (void *result) if (! result) return; - data = result - sizeof (struct ctx_op_data); + data = (void*)((char*)result - sizeof (struct ctx_op_data)); assert (data->magic == CTX_OP_DATA_MAGIC); |