aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
diff options
context:
space:
mode:
authorStanley Chan <pocketgamer5000@gmail.com>2020-10-02 01:24:57 -0500
committerStanley Chan <pocketgamer5000@gmail.com>2020-10-02 03:24:39 -0500
commitf126721357484a9c79fcdd17acb95e558308a5b7 (patch)
tree70e996350bb70ef067f9fe6947d0b4e81d344e42 /src/nvim/quickfix.c
parenta9851bfbb1bd442fa4fbe470e1c134a1b6e9b13f (diff)
downloadrneovim-f126721357484a9c79fcdd17acb95e558308a5b7.tar.gz
rneovim-f126721357484a9c79fcdd17acb95e558308a5b7.tar.bz2
rneovim-f126721357484a9c79fcdd17acb95e558308a5b7.zip
Fix quickfix.c warning message on EMSGN macro
``` /Users/stahn_mchan/sources/neovim/src/nvim/quickfix.c:1775:5: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat] EMSGN("quickfix_busy not zero on exit: %ld", (long)quickfix_busy); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lld /Users/stahn_mchan/sources/neovim/src/nvim/message.h:49:63: note: expanded from macro 'EMSGN' ```
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r--src/nvim/quickfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index 0c9902aaec..329f6fd808 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -1772,7 +1772,7 @@ static void decr_quickfix_busy(void)
void check_quickfix_busy(void)
{
if (quickfix_busy != 0) {
- EMSGN("quickfix_busy not zero on exit: %ld", (long)quickfix_busy);
+ EMSGN("quickfix_busy not zero on exit: %" PRId64, (int64_t)quickfix_busy);
# ifdef ABORT_ON_INTERNAL_ERROR
abort();
# endif