[pkg-opensc-commit] [pkcs11-helper] 04/07: Better solve win64 casting
Eric Dorland
eric at moszumanska.debian.org
Fri Jan 6 23:40:22 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 64bc4d64f938c44bf5930ec5eca3fd33a845baf2
Author: alonbl <alonbl at 485eb718-1723-0410-b8a9-88cf21a28c35>
Date: Thu Nov 6 20:54:11 2008 +0000
Better solve win64 casting
---
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 2b978c2..b2f3fe2 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)((LONGLONG)_data->start (_data->data) & 0xffffffff);
+ ret = (unsigned)(_data->start (_data->data) - (void*)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