[pkg-opensc-commit] [pkcs11-helper] 02/07: Fix win64 issue

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


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

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

commit 238356d843712f3e078e39ccb239b3291ccdc1d1
Author: alonbl <alonbl at 485eb718-1723-0410-b8a9-88cf21a28c35>
Date:   Sun Oct 26 20:20:30 2008 +0000

    Fix win64 issue
---
 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 d587a53..2b978c2 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);
+	ret = (unsigned)((LONGLONG)_data->start (_data->data) & 0xffffffff);
 
 	_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