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

Eric Dorland eric at moszumanska.debian.org
Fri Jan 6 23:39:17 UTC 2017


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

eric pushed a commit to branch master
in repository pkcs11-helper.

commit db56ae85e8eb341b302d5f6725a1dfc50e622c9c
Author: Alon Bar-Lev <alon.barlev at gmail.com>
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