Mercurial > vim
diff src/blowfish.c @ 2217:120502692d82 vim73
Improve the MS-Windows installer.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 24 May 2010 21:34:22 +0200 |
parents | cccb71c2c5c1 |
children | caca0ddd789b |
line wrap: on
line diff
--- 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];