summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSijmen J. Mulder <ik@sjmulder.nl>2019-06-13 03:04:09 +0200
committerSijmen J. Mulder <ik@sjmulder.nl>2019-06-13 03:04:09 +0200
commitf3e768907dfd5507be7095b12f1a793eb250c43d (patch)
tree74d8d39c31c24f504b9dfc49ff2cad1348fd9932
parente73e0e80980c455a294c9ec7e55dd653bb3a188a (diff)
Make isoperator() take an int
...like other ctype functions. Should also fix a warning.
-rw-r--r--src/bcal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bcal.c b/src/bcal.c
index 1ca5856..a4fd9a3 100644
--- a/src/bcal.c
+++ b/src/bcal.c
@@ -1612,7 +1612,7 @@ static int issign(char c)
}
/* Check if a char is operator or not */
-static int isoperator(char c)
+static int isoperator(int c)
{
switch (c) {
case '+':