mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1939,7 +1939,7 @@ failed:
|
||||
bool is_dev_fd_file(char *fname)
|
||||
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT
|
||||
{
|
||||
return STRNCMP(fname, "/dev/fd/", 8) == 0
|
||||
return strncmp(fname, "/dev/fd/", 8) == 0
|
||||
&& ascii_isdigit((uint8_t)fname[8])
|
||||
&& *skipdigits(fname + 9) == NUL
|
||||
&& (fname[9] != NUL
|
||||
@@ -4090,7 +4090,7 @@ static int get_fio_flags(const char_u *name)
|
||||
if (*name == NUL) {
|
||||
name = (char_u *)p_enc;
|
||||
}
|
||||
prop = enc_canon_props(name);
|
||||
prop = enc_canon_props((char *)name);
|
||||
if (prop & ENC_UNICODE) {
|
||||
if (prop & ENC_2BYTE) {
|
||||
if (prop & ENC_ENDIAN_L) {
|
||||
|
Reference in New Issue
Block a user