From: John Carr Date: Thu, 20 Dec 1990 14:55:29 +0000 (+0000) Subject: Cast argument to accept X-Git-Tag: krb5-1.0-alpha3~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=34662330a771c53e170e0ba9523b64bc51fadc7a;p=krb5.git Cast argument to accept git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1583 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/sample/sserver/sserver.c b/src/appl/sample/sserver/sserver.c index 0d18fb4b1..1dea2c9d1 100644 --- a/src/appl/sample/sserver/sserver.c +++ b/src/appl/sample/sserver/sserver.c @@ -94,7 +94,7 @@ char *argv[]; syslog(LOG_ERR, "listen: %m"); exit(3); } - if ((acc = accept(sock, &peername, &namelen)) == -1) { + if ((acc = accept(sock, (struct sockaddr *)&peername, &namelen)) == -1) { syslog(LOG_ERR, "accept: %m"); exit(3); }