summaryrefslogtreecommitdiffstats
path: root/auth.c
diff options
context:
space:
mode:
authordscho <dscho>2002-08-19 10:41:11 +0000
committerdscho <dscho>2002-08-19 10:41:11 +0000
commit598c460ceb842d0cf9df89f93642a1594f35b993 (patch)
tree6dc08fdcc2a9065fb9f75e759b725c1cf7c372e0 /auth.c
parentfde8958dc5e4e226a76ae0a26d751b6f185cf7ee (diff)
downloadlibtdevnc-598c460ceb842d0cf9df89f93642a1594f35b993.tar.gz
libtdevnc-598c460ceb842d0cf9df89f93642a1594f35b993.zip
unwarn compilation
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) {