From 2f60a69bafc4b5130fb213df206179701ec0d74a Mon Sep 17 00:00:00 2001 From: Mark Bainter Date: Mon, 4 May 2015 12:44:06 -0500 Subject: Update vim_FullName() to define fname as const --- src/nvim/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/path.c b/src/nvim/path.c index cefa2dcbf8..9bdf03dacf 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -1563,7 +1563,7 @@ int vim_isAbsName(char_u *name) /// @param force is a flag to force expanding even if the path is absolute /// /// @return FAIL for failure, OK otherwise -int vim_FullName(char *fname, char *buf, int len, bool force) +int vim_FullName(const char *fname, char *buf, int len, bool force) FUNC_ATTR_NONNULL_ARG(1) { int retval = OK; -- cgit