aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/engine
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-05-29 13:51:14 +0000
committerAndy Polyakov <appro@openssl.org>2011-05-29 13:51:14 +0000
commitfe9a5107beb60395273265b5770c2f189bf237c1 (patch)
treec00baf13d9367cdf3b1e3fce69036b02dbfe0a5e /crypto/engine
parentafa4b386718a75f5fbb7f66a09ebba72a7030fe9 (diff)
downloadopenssl-fe9a5107beb60395273265b5770c2f189bf237c1.tar.gz
Various mingw64 fixes.
Diffstat (limited to 'crypto/engine')
-rw-r--r--crypto/engine/eng_aesni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/engine/eng_aesni.c b/crypto/engine/eng_aesni.c
index e9f277390a..327a49c53e 100644
--- a/crypto/engine/eng_aesni.c
+++ b/crypto/engine/eng_aesni.c
@@ -176,7 +176,7 @@ static int aesni_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
#define AESNI_MIN_ALIGN 16
#define AESNI_ALIGN(x) \
- ((void *)(((unsigned long)(x)+AESNI_MIN_ALIGN-1)&~(AESNI_MIN_ALIGN-1)))
+ ((void *)(((size_t)(x)+AESNI_MIN_ALIGN-1)&~(AESNI_MIN_ALIGN-1)))
/* Engine names */
static const char aesni_id[] = "aesni",