diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-08-13 22:05:53 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-08-13 22:05:53 +0200 |
commit | 9b8f021d93de3a2a2905d0e46b9f0b6dbb3e12f9 (patch) | |
tree | fa60f4b35b5721fe7932c21d4569c6ec51519da0 /src/crypt.c | |
parent | 2be795084f053928879d758443e199ef147cc07e (diff) | |
download | vim-git-9b8f021d93de3a2a2905d0e46b9f0b6dbb3e12f9.tar.gz |
updated for version 7.4.404v7.4.404
Problem: Windows 64 bit compiler warnings.
Solution: Add type casts. (Mike Williams)
Diffstat (limited to 'src/crypt.c')
-rw-r--r-- | src/crypt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crypt.c b/src/crypt.c index 758ffb17b..c54e15c4a 100644 --- a/src/crypt.c +++ b/src/crypt.c @@ -397,13 +397,13 @@ crypt_encode_alloc(state, from, len, newptr) return method->encode_buffer_fn(state, from, len, newptr); if (len == 0) /* Not buffering, just return EOF. */ - return len; + return (long)len; - *newptr = alloc(len); + *newptr = alloc((long)len); if (*newptr == NULL) return -1; method->encode_fn(state, from, len, *newptr); - return len; + return (long)len; } /* |