Fix compiler warning.

--HG--
branch : vim73
This commit is contained in:
Bram Moolenaar
2010-06-24 05:20:13 +02:00
parent ab473c0c5a
commit f614d1b5dd
+1 -1
View File
@@ -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);
}
}