From 78d1c4ef8fe2bca658551811096608f56d837c2a Mon Sep 17 00:00:00 2001 From: John Carr Date: Sun, 23 Feb 1992 12:32:28 +0000 Subject: [PATCH] Add cast to addr argument to bind() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2249 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/popper/pop_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.26.2