From: Bram Moolenaar Date: Thu, 24 Jun 2010 03:20:13 +0000 (+0200) Subject: Fix compiler warning. X-Git-Tag: v7.3~300 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e77fb8ca5381687c7ae527e728884c3db26f1a9a;p=vim Fix compiler warning. --- diff --git a/src/memline.c b/src/memline.c index c5b22e092..06b30cf72 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); } }