diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-06-24 05:20:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-06-24 05:20:13 +0200 |
commit | e77fb8ca5381687c7ae527e728884c3db26f1a9a (patch) | |
tree | 6857bdd1f7003fa15673bb6d92500b674e105bd7 | |
parent | f506c5bb1c0c191511316b4b9b2e9a5af176d446 (diff) | |
download | vim-e77fb8ca5381687c7ae527e728884c3db26f1a9a.zip |
Fix compiler warning.
-rw-r--r-- | src/memline.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |