aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd/factotum/chap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/factotum/chap.c b/src/cmd/factotum/chap.c
index dcc411ce..debf8d0e 100644
--- a/src/cmd/factotum/chap.c
+++ b/src/cmd/factotum/chap.c
@@ -149,7 +149,7 @@ chapclient(Conv *c)
c->attr = addattrs(copyattr(attr), k->attr);
c->state = "read challenge";
- if((nchal = convreadm(c, (char**)&chal)) < 0)
+ if((nchal = convreadm(c, (char**)(void*)&chal)) < 0)
goto out;
if(astype == AuthMSchap && nchal != MSchallen)
c->state = "write user";