mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
build/MSVC: fix "C4028: formal parameter different from declaration"
This commit is contained in:
parent
66a8b593e7
commit
960f093625
@ -47,7 +47,7 @@ typedef enum {
|
||||
/// Internal call from lua code
|
||||
#define LUA_INTERNAL_CALL (VIML_INTERNAL_CALL + 1)
|
||||
|
||||
static inline bool is_internal_call(uint64_t channel_id)
|
||||
static inline bool is_internal_call(const uint64_t channel_id)
|
||||
REAL_FATTR_ALWAYS_INLINE REAL_FATTR_CONST;
|
||||
|
||||
/// Check whether call is internal
|
||||
|
@ -146,7 +146,7 @@ static inline bool ascii_isxdigit(int c)
|
||||
/// Checks if `c` is an “identifier” character
|
||||
///
|
||||
/// That is, whether it is alphanumeric character or underscore.
|
||||
static inline bool ascii_isident(const int c)
|
||||
static inline bool ascii_isident(int c)
|
||||
{
|
||||
return ASCII_ISALNUM(c) || c == '_';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user