summaryrefslogtreecommitdiff
path: root/src/blowfish.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-24 21:34:22 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-24 21:34:22 +0200
commit442b4225d3310599a8bc9107dc3f7b4153a286c4 (patch)
tree518b9298185272fad43e5afbc8a7cde21dc867e8 /src/blowfish.c
parente66194a54e0303568e7db1cb8772e2709afd864c (diff)
downloadvim-git-442b4225d3310599a8bc9107dc3f7b4153a286c4.tar.gz
Improve the MS-Windows installer.
Diffstat (limited to 'src/blowfish.c')
-rw-r--r--src/blowfish.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blowfish.c b/src/blowfish.c
index 02d9008fd..e449da38f 100644
--- a/src/blowfish.c
+++ b/src/blowfish.c
@@ -25,7 +25,7 @@ typedef union {
char_u uc[8];
} block8;
-#ifdef WIN3264
+#if defined(WIN3264) || defined(DOS32)
/* MS-Windows is always little endian */
#else
# ifdef HAVE_CONFIG_H
@@ -406,7 +406,7 @@ bf_key_init(password)
int keylen;
key = sha256_key(password);
- keylen = STRLEN(key);
+ keylen = (int)STRLEN(key);
for (i = 0; i < 256; ++i)
{
sbx[0][i] = sbi[0][i];