mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.0378: CI build failure
Problem: CI build failure. Solution: Include vim.h as ../vim.h. Fix compiler warning.
This commit is contained in:
parent
42335f50bc
commit
0d5f21c3df
@ -794,6 +794,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
378,
|
||||||
/**/
|
/**/
|
||||||
377,
|
377,
|
||||||
/**/
|
/**/
|
||||||
|
@ -108,7 +108,7 @@ typedef struct s_bdiffparam {
|
|||||||
long bsize;
|
long bsize;
|
||||||
} bdiffparam_t;
|
} bdiffparam_t;
|
||||||
|
|
||||||
#include "vim.h"
|
#include "../vim.h"
|
||||||
|
|
||||||
#define xdl_malloc(x) lalloc((x), TRUE)
|
#define xdl_malloc(x) lalloc((x), TRUE)
|
||||||
#define xdl_free(ptr) vim_free(ptr)
|
#define xdl_free(ptr) vim_free(ptr)
|
||||||
|
@ -206,7 +206,7 @@ static int binary_search(struct entry **sequence, int longest,
|
|||||||
*/
|
*/
|
||||||
static struct entry *find_longest_common_sequence(struct hashmap *map)
|
static struct entry *find_longest_common_sequence(struct hashmap *map)
|
||||||
{
|
{
|
||||||
struct entry **sequence = xdl_malloc(map->nr * sizeof(struct entry *));
|
struct entry **sequence = (struct entry **)xdl_malloc(map->nr * sizeof(struct entry *));
|
||||||
int longest = 0, i;
|
int longest = 0, i;
|
||||||
struct entry *entry;
|
struct entry *entry;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user