From 10f4766cd6782f3d15e42a985cdf909fe4c7762e Mon Sep 17 00:00:00 2001 From: Harald Freudenberger Date: Tue, 15 Apr 2014 13:16:33 -0500 Subject: [PATCH 6/6] The 31 bit build on s390 showed an build error at initialization of an static long long variable which gets an address assigned. Fixed and tested on 31 and 64 bit. Signed-off-by: Harald Freudenberger --- usr/lib/pkcs11/ep11_stdll/ep11_specific.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c index 373be5b..5aa890b 100644 --- a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c +++ b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c @@ -407,9 +407,9 @@ static ep11_target_t ep11_targets; /* defined in the makefile, ep11 library can run standalone (without HW card), crypto algorithms are implemented in software then (no secure key) */ #ifdef EP11_STANDALONE -unsigned long long ep11tok_target = 0x0000000100000008ull; +static unsigned long long ep11tok_target = 0x0000000100000008ull; #else -unsigned long long ep11tok_target = (unsigned long long) &ep11_targets; +static void* ep11tok_target = (void*) &ep11_targets; #endif /* */ -- 1.7.12.4