aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rfc822valid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rfc822valid.c b/rfc822valid.c
index 0fabe1ef..a6f8d51a 100644
--- a/rfc822valid.c
+++ b/rfc822valid.c
@@ -48,7 +48,7 @@ static int quotedstring(unsigned char const **x) {
static int atom(unsigned char const **x) {
/* atom */
- if (strchr(atomchar, (const char)**x)) {
+ if (strchr(atomchar, (char)**x)) {
*x += strspn((const char *)*x, atomchar);
return 1;
}