Add cast to addr argument to bind()
authorJohn Carr <jfc@mit.edu>
Sun, 23 Feb 1992 12:32:28 +0000 (12:32 +0000)
committerJohn Carr <jfc@mit.edu>
Sun, 23 Feb 1992 12:32:28 +0000 (12:32 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2249 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/popper/pop_init.c

index 1c10f61f18e3c0c0a09ef5baf8b1397824f90613..b9e0ecfc930f69b3a4bd8447a47819cc5f03119b 100644 (file)
@@ -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);
        }