summaryrefslogtreecommitdiffstats
path: root/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth.c b/auth.c
index e7bd74f..b903425 100644
--- a/auth.c
+++ b/auth.c
@@ -84,7 +84,7 @@ rfbAuthProcessClientMessage(cl)
return;
}
- if(!cl->screen->passwordCheck(cl,response,CHALLENGESIZE)) {
+ if(!cl->screen->passwordCheck(cl,(const char*)response,CHALLENGESIZE)) {
rfbLog("rfbAuthProcessClientMessage: password check failed\n");
authResult = Swap32IfLE(rfbVncAuthFailed);
if (WriteExact(cl, (char *)&authResult, 4) < 0) {