From efa2682e3b513c4a33d987dc651db5913feff21a Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 29 Jul 2016 21:41:45 +0300 Subject: *: Partial string handling refactoring Main points: - Replace `char_u` with `char` in some cases. - Remove `str[len] = NUL` hack in some cases when `str` may be considered `const`. --- src/nvim/pos.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/pos.h') diff --git a/src/nvim/pos.h b/src/nvim/pos.h index 864f3fe866..966255e6a4 100644 --- a/src/nvim/pos.h +++ b/src/nvim/pos.h @@ -2,6 +2,8 @@ #define NVIM_POS_H typedef long linenr_T; // line number type +/// Format used to print values which have linenr_T type +#define PRIdLINENR "ld" /// Column number type typedef int colnr_T; -- cgit