diff options
| author | Dundar Goc <gocdundar@gmail.com> | 2022-07-31 16:20:57 +0200 | 
|---|---|---|
| committer | Dundar Göc <gocdundar@gmail.com> | 2022-08-25 18:59:12 +0200 | 
| commit | 40855b0143a864739a6037921e15699445dcf8a7 (patch) | |
| tree | 61c7e85a2cad6ca5d97fd436056ce34d4a655698 /src/nvim/api/vim.c | |
| parent | 22f920030214c0023525c59daf763441baddba1a (diff) | |
| download | rneovim-40855b0143a864739a6037921e15699445dcf8a7.tar.gz rneovim-40855b0143a864739a6037921e15699445dcf8a7.tar.bz2 rneovim-40855b0143a864739a6037921e15699445dcf8a7.zip  | |
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/api/vim.c')
| -rw-r--r-- | src/nvim/api/vim.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 2fa0277df7..ca98aeb34a 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -2044,7 +2044,7 @@ Array nvim_get_mark(String name, Dictionary opts, Error *err)    // Marks are from an open buffer it fnum is non zero    if (mark->fmark.fnum != 0) {      bufnr = mark->fmark.fnum; -    filename = (char *)buflist_nr2name(bufnr, true, true); +    filename = buflist_nr2name(bufnr, true, true);      allocated = true;      // Marks comes from shada    } else { @@ -2232,7 +2232,7 @@ Dictionary nvim_eval_statusline(String str, Dict(eval_statusline) *opts, Error *      // If first character doesn't have a defined highlight,      // add the default highlight at the beginning of the highlight list -    if (hltab->start == NULL || ((char *)hltab->start - buf) != 0) { +    if (hltab->start == NULL || (hltab->start - buf) != 0) {        Dictionary hl_info = ARRAY_DICT_INIT;        grpname = get_default_stl_hl(wp, use_winbar);  | 
