1
0
forked from aniani/vim

patch 8.1.0753: printf format not checked for semsg()

Problem:    printf format not checked for semsg().
Solution:   Add GNUC attribute and fix reported problems. (Dominique Pelle,
            closes #3805)
This commit is contained in:
Bram Moolenaar
2019-01-15 20:19:40 +01:00
parent 8e481e8dfe
commit b5443cc46d
16 changed files with 55 additions and 31 deletions

View File

@@ -1307,7 +1307,7 @@ nfa_regatom(void)
rc_did_emsg = TRUE;
return FAIL;
}
siemsg("INTERNAL: Unknown character class char: %ld", c);
siemsg("INTERNAL: Unknown character class char: %d", c);
return FAIL;
}
#ifdef FEAT_MBYTE