Skip to content
Snippets Groups Projects
Commit e77fb8ca authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

Fix compiler warning.

parent f506c5bb
No related merge requests found
...@@ -4923,7 +4923,7 @@ ml_crypt_prepare(mfp, offset, reading) ...@@ -4923,7 +4923,7 @@ ml_crypt_prepare(mfp, offset, reading)
/* Using blowfish, add salt and seed. We use the byte offset of the /* Using blowfish, add salt and seed. We use the byte offset of the
* block for the salt. */ * block for the salt. */
vim_snprintf((char *)salt, sizeof(salt), "%ld", (long)offset); 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); bf_ofb_init(seed, MF_SEED_LEN);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment