0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

Fix compiler warning.

This commit is contained in:
Bram Moolenaar 2010-06-24 05:20:13 +02:00
parent f506c5bb1c
commit e77fb8ca53

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);
}
}