changeset 2272:69dc5f32f5d2 vim73

Fix compiler warning.
author Bram Moolenaar <bram@vim.org>
date Thu, 24 Jun 2010 05:20:13 +0200
parents 2b33a7678e7b
children 7f09ce7b4126
files src/memline.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/memline.c
+++ b/src/memline.c
@@ -4923,7 +4923,7 @@ ml_crypt_prepare(mfp, offset, reading)
 	/* Using blowfish, add salt and seed. We use the byte offset of the
 	 * block for the salt. */
 	vim_snprintf((char *)salt, sizeof(salt), "%ld", (long)offset);
-	bf_key_init(key, salt, STRLEN(salt));
+	bf_key_init(key, salt, (int)STRLEN(salt));
 	bf_ofb_init(seed, MF_SEED_LEN);
     }
 }