[pkg-opensc-commit] [pkcs11-helper] 03/15: Fix MSVC incompatibility, thanks to Marc Rios Valles

Eric Dorland eric at moszumanska.debian.org
Fri Jan 6 23:40:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to tag pkcs11-helper-1.08
in repository pkcs11-helper.

commit ccc2e262d8aa65592f0d080106c6c53f82998ac8
Author: alonbl <alonbl at 485eb718-1723-0410-b8a9-88cf21a28c35>
Date:   Thu Jun 18 10:21:50 2009 +0000

    Fix MSVC incompatibility, thanks to Marc Rios Valles
---
 lib/pkcs11h-threading.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pkcs11h-threading.c b/lib/pkcs11h-threading.c
index b2f3fe2..308e419 100644
--- a/lib/pkcs11h-threading.c
+++ b/lib/pkcs11h-threading.c
@@ -474,7 +474,7 @@ ___pkcs11h_thread_start (void *p) {
 	___pkcs11h_thread_data_t *_data = (___pkcs11h_thread_data_t *)p;
 	unsigned ret;
 
-	ret = (unsigned)(_data->start (_data->data) - (void*)0);
+	ret = (unsigned)((char*)_data->start (_data->data) - (char*)0);
 
 	_pkcs11h_mem_free ((void *)&_data);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/pkcs11-helper.git



More information about the pkg-opensc-commit mailing list