diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-01-10 13:47:26 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-01-10 13:55:13 -0500 |
commit | a641b74140063ebe268fba241774e2e424e244f5 (patch) | |
tree | cf8532e29e39d64418b87f2bd68217a478354a43 /src | |
parent | 73b8c89518404ea3fbb376e98c1a60e868581ecd (diff) | |
download | rneovim-a641b74140063ebe268fba241774e2e424e244f5.tar.gz rneovim-a641b74140063ebe268fba241774e2e424e244f5.tar.bz2 rneovim-a641b74140063ebe268fba241774e2e424e244f5.zip |
portability: fix cast.
PRId64 format expects int64_t.
Regression from c6e481cba559d35891f20ef4ac9ca6a41bdcdbd3.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index d053bea6b5..a1321d0227 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -7999,7 +7999,7 @@ static void prepare_assert_error(garray_T *gap) } } if (sourcing_lnum > 0) { - vim_snprintf(buf, ARRAY_SIZE(buf), "line %" PRId64, (long)sourcing_lnum); + vim_snprintf(buf, ARRAY_SIZE(buf), "line %" PRId64, (int64_t)sourcing_lnum); ga_concat(gap, (char_u *)buf); } if (sourcing_name != NULL || sourcing_lnum > 0) { |