From fcf3519c65a2d6736de437f686e788684a6c8564 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Mon, 17 Apr 2023 22:18:58 +0200 Subject: refactor: remove long long is 32-bits even on 64-bit windows which makes the type suboptimal for a codebase meant to be cross-platform. --- src/nvim/diff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/diff.c') diff --git a/src/nvim/diff.c b/src/nvim/diff.c index 810f631a02..64e47cbeb8 100644 --- a/src/nvim/diff.c +++ b/src/nvim/diff.c @@ -2466,8 +2466,8 @@ int diffopt_changed(void) int linematch_lines_new = 0; int diff_flags_new = 0; int diff_foldcolumn_new = 2; - long diff_algorithm_new = 0; - long diff_indent_heuristic = 0; + int diff_algorithm_new = 0; + int diff_indent_heuristic = 0; char *p = p_dip; while (*p != NUL) { -- cgit