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:
@@ -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
|
||||
|
Reference in New Issue
Block a user