summaryrefslogtreecommitdiffstats
path: root/src/memline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-06-24 05:20:13 +0200
committerBram Moolenaar <Bram@vim.org>2010-06-24 05:20:13 +0200
commite77fb8ca5381687c7ae527e728884c3db26f1a9a (patch)
tree6857bdd1f7003fa15673bb6d92500b674e105bd7 /src/memline.c
parentf506c5bb1c0c191511316b4b9b2e9a5af176d446 (diff)
Fix compiler warning.
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memline.c b/src/memline.c
index c5b22e0924..06b30cf728 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);
}
}