0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.4.404

Problem:    Windows 64 bit compiler warnings.
Solution:   Add type casts. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2014-08-13 22:05:53 +02:00
parent 2be795084f
commit 9b8f021d93
3 changed files with 8 additions and 6 deletions

View File

@@ -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;
}
/*