From: John Carr Date: Sun, 23 Feb 1992 12:32:28 +0000 (+0000) Subject: Add cast to addr argument to bind() X-Git-Tag: krb5-1.0-beta2~213 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=78d1c4ef8fe2bca658551811096608f56d837c2a;p=krb5.git Add cast to addr argument to bind() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2249 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/popper/pop_init.c b/src/appl/popper/pop_init.c index 1c10f61f1..b9e0ecfc9 100644 --- a/src/appl/popper/pop_init.c +++ b/src/appl/popper/pop_init.c @@ -140,7 +140,7 @@ char ** argmessage; } #endif sin.sin_port = spr->s_port; - if (bind(sock, &sin, sizeof(sin))) { + if (bind(sock, (struct sockaddr *)&sin, sizeof(sin))) { syslog(LOG_ERR, "bind: %m"); exit(3); }