refactor: reduce number of explicit char casts (#16077)

* refactor: reduce number of explicit char casts
This commit is contained in:
dundargoc
2021-11-16 20:27:59 +01:00
committed by GitHub
parent 99211b008c
commit eba317d7a9
27 changed files with 151 additions and 167 deletions

View File

@@ -566,7 +566,7 @@ static void discard_exception(except_T *excp, bool was_finished)
} else {
verbose_leave();
}
xstrlcpy((char *)IObuff, (const char *)saved_IObuff, IOSIZE);
STRLCPY(IObuff, saved_IObuff, IOSIZE);
xfree(saved_IObuff);
}
if (excp->type != ET_INTERRUPT) {