From acc646ad8fc3ef11fcc63b69f3d8484e4a91accd Mon Sep 17 00:00:00 2001 From: dundargoc Date: Fri, 29 Sep 2023 14:58:48 +0200 Subject: refactor: the long goodbye long is 32 bits on windows, while it is 64 bits on other architectures. This makes the type suboptimal for a codebase meant to be cross-platform. Replace it with more appropriate integer types. --- src/nvim/quickfix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/quickfix.c') diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index eae357ebf0..2e3cc4f170 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -2084,7 +2084,7 @@ static int copy_loclist(qf_list_T *from_qfl, qf_list_T *to_qfl) // Assign a new ID for the location list to_qfl->qf_id = ++last_qf_id; - to_qfl->qf_changedtick = 0L; + to_qfl->qf_changedtick = 0; // When no valid entries are present in the list, qf_ptr points to // the first item in the list @@ -3450,7 +3450,7 @@ static void qf_free(qf_list_T *qfl) qfl->qf_ctx = NULL; callback_free(&qfl->qf_qftf_cb); qfl->qf_id = 0; - qfl->qf_changedtick = 0L; + qfl->qf_changedtick = 0; } /// Adjust error list entries for changed line numbers -- cgit