build/MSVC: fix "C4028: formal parameter different from declaration"

This commit is contained in:
Justin M. Keyes 2018-03-16 07:29:30 +01:00
parent 66a8b593e7
commit 960f093625
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 == '_';
}