commit | 669cac0a805333e69b9e1176425083914eada659 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Feb 25 15:25:03 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Feb 25 15:25:03 2016 +0100 |
tree | 817a206b6ba8e62a6b17637a9ba6152d74469099 | |
parent | f391327adbbffb11180cf6038a92af1ed144e907 [diff] [blame] |
patch 7.4.1416 Problem: Using "u_char" intead of "char_u", which doesn't work everywhere. (Jörg Plate) Solution: Use "char_u" always.
diff --git a/src/macros.h b/src/macros.h index ffc29f0..6e2c94f 100644 --- a/src/macros.h +++ b/src/macros.h
@@ -119,7 +119,7 @@ #endif /* Returns empty string if it is NULL. */ -#define EMPTY_IF_NULL(x) ((x) ? (x) : (u_char *)"") +#define EMPTY_IF_NULL(x) ((x) ? (x) : (char_u *)"") #ifdef FEAT_LANGMAP /*