aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-11-12 21:09:44 -0500
committerGitHub <noreply@github.com>2017-11-12 21:09:44 -0500
commit8d8212d384f668e4e6dfea64e169ec85daef44a2 (patch)
treef78ed2d5fea977f6da6c50801038ce048d715332 /src/nvim/api/vim.c
parentd5b7f28b44517a2e9ed07619d9fb828c043f179a (diff)
parentb63cde97f40b962f80ab929036d0eb8c1228b33f (diff)
downloadrneovim-8d8212d384f668e4e6dfea64e169ec85daef44a2.tar.gz
rneovim-8d8212d384f668e4e6dfea64e169ec85daef44a2.tar.bz2
rneovim-8d8212d384f668e4e6dfea64e169ec85daef44a2.zip
Merge pull request #7545 from jamessan/test-fixes
Fix test failures found in Debian builds, closes #7522
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index e5ec018795..d2b0e329c9 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -89,7 +89,8 @@ Dictionary nvim_get_hl_by_id(Integer hl_id, Boolean rgb, Error *err)
{
Dictionary dic = ARRAY_DICT_INIT;
if (syn_get_final_id((int)hl_id) == 0) {
- api_set_error(err, kErrorTypeException, "Invalid highlight id: %d", hl_id);
+ api_set_error(err, kErrorTypeException,
+ "Invalid highlight id: %" PRId64, hl_id);
return dic;
}
int attrcode = syn_id2attr((int)hl_id);