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:
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user