[pkg-opensc-commit] [pkcs11-helper] 175/253: Fix win64 issue

Eric Dorland eric at moszumanska.debian.org
Fri Jan 6 23:39:16 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 c60b7357740c7e750935374c80d329cc6496bbc9
Author: Alon Bar-Lev <alon.barlev at gmail.com>
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