diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-07-07 09:46:04 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-07-07 09:53:20 +0200 |
commit | b3e9218b23557f7ca787dc0b08c150ee7a0a880e (patch) | |
tree | a5a25842315c60a3ed671b0f7775f9460bf70dce /xB.c | |
parent | bc8867eb227c95931462c2f19c8a67763e6f1733 (diff) | |
download | xK-b3e9218b23557f7ca787dc0b08c150ee7a0a880e.tar.gz xK-b3e9218b23557f7ca787dc0b08c150ee7a0a880e.tar.xz xK-b3e9218b23557f7ca787dc0b08c150ee7a0a880e.zip |
Fix Cygwin build warnings
Diffstat (limited to 'xB.c')
-rw-r--r-- | xB.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1009,7 +1009,7 @@ is_valid_plugin_name (const char *name) if (!*name) return false; for (const char *p = name; *p; p++) - if (!isgraph (*p) || *p == '/') + if (!isgraph ((uint8_t) *p) || *p == '/') return false; return true; } @@ -1213,7 +1213,7 @@ parse_bot_command (const char *s, const char *command, const char **following) s += command_len; // Expect a word boundary, so that we don't respond to invalid things - if (isalnum (*s)) + if (isalnum ((uint8_t) *s)) return false; // Ignore any initial spaces; the rest is the command's argument |