summaryrefslogtreecommitdiffstats
path: root/src/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index b4b74f7ef5..92aa82fc42 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -631,7 +631,7 @@ f_mode(typval_T *argvars, typval_T *rettv)
{
char_u buf[4];
- vim_memset(buf, 0, sizeof(buf));
+ CLEAR_FIELD(buf);
if (time_for_testing == 93784)
{