Permalink
Browse files

patch 8.0.1687: 64 bit compiler warnings

Problem:    64 bit compiler warnings.
Solution:   change type, add type cast. (Mike Williams)
  • Loading branch information...
brammool committed Apr 10, 2018
1 parent d088240 commit d6b4f2dd760b425c63c359b9ff299f73448f8854
Showing with 5 additions and 3 deletions.
  1. +3 −3 src/terminal.c
  2. +2 −0 src/version.c
@@ -3400,7 +3400,7 @@ static VTermParserCallbacks parser_fallbacks = {
static void *
vterm_malloc(size_t size, void *data UNUSED)
{
return alloc_clear(size);
return alloc_clear((unsigned) size);
}
static void
@@ -4016,9 +4016,9 @@ get_separator(int text_width, char_u *fname)
int fname_size;
char_u *p = fname;
int i;
int off;
size_t off;
textline = alloc(width + STRLEN(fname) + 1);
textline = alloc(width + (int)STRLEN(fname) + 1);
if (textline == NULL)
return NULL;
@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1687,
/**/
1686,
/**/

0 comments on commit d6b4f2d

Please sign in to comment.