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:
parent
f506c5bb1c
commit
e77fb8ca53
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user