patch 8.2.0436: no warnings for incorrect printf arguments
Problem: No warnings for incorrect printf arguments.
Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
Pelle, closes #5834)
diff --git a/src/ops.c b/src/ops.c
index 08209c7..eaeb0f7 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -2999,7 +2999,7 @@
curbuf->b_op_start = startpos;
if (change_cnt > p_report)
- smsg(NGETTEXT("%ld line changed", "%ld lines changed",
+ smsg(NGETTEXT("%d line changed", "%d lines changed",
change_cnt), change_cnt);
}
}