aboutsummaryrefslogtreecommitdiff
path: root/src/configparser.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-05 21:14:36 +0100
committerGravatar Sadie Powell2022-09-05 21:14:36 +0100
commit2a0cce9d4680af924a2b53fb36731591340fffa9 (patch)
treeb9bfa8e5dc691f09c27db401008165997890d935 /src/configparser.cpp
parentUse auto in places where it is really obvious what the type is. (diff)
Fix more warnings discovered with -Weverything.
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index 08cd88c7d..af05e8d86 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -112,7 +112,7 @@ struct Parser final
}
}
- static bool wordchar(char ch)
+ static bool wordchar(int ch)
{
return isalnum(ch)
|| ch == '-'