mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
refactor: remove redundant casts
This commit is contained in:
@@ -430,7 +430,7 @@ char *get_exception_string(void *value, except_type_T type, char_u *cmdname, int
|
||||
|
||||
STRCAT(val, p);
|
||||
p[-2] = NUL;
|
||||
sprintf((char *)(val + STRLEN(p)), " (%s)", &mesg[1]);
|
||||
snprintf(val + STRLEN(p), strlen(" (%s)"), " (%s)", &mesg[1]);
|
||||
p[-2] = '"';
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user