From e77fb8ca5381687c7ae527e728884c3db26f1a9a Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Thu, 24 Jun 2010 05:20:13 +0200
Subject: [PATCH] Fix compiler warning.

---
 src/memline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/memline.c b/src/memline.c
index c5b22e0924..06b30cf728 100644
--- 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);
     }
 }
-- 
GitLab