refactor: remove redundant casts

This commit is contained in:
Dundar Göc
2021-10-07 11:17:02 +02:00
parent c61a3865ee
commit 6d9dea4201
14 changed files with 27 additions and 27 deletions

View File

@@ -723,7 +723,7 @@ void extmark_move_region(buf_T *buf, int start_row, colnr_T start_col, bcount_t
uint64_t src2ns(Integer *src_id)
{
if (*src_id == 0) {
*src_id = (Integer)nvim_create_namespace((String)STRING_INIT);
*src_id = nvim_create_namespace((String)STRING_INIT);
}
if (*src_id < 0) {
return UINT64_MAX;