Commit c47eaac9 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Fix compiler complaints about mismatched pointer args using coersions.

parent 0f62b302
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.17 1997/09/08 21:43:34 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.18 1997/11/17 16:10:06 thomas Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -498,7 +498,8 @@ be_recvauth(MsgType msgtype_arg, Port *port, char *username, StartupInfo *sp) ...@@ -498,7 +498,8 @@ be_recvauth(MsgType msgtype_arg, Port *port, char *username, StartupInfo *sp)
pqdebug("%s", PQerrormsg); pqdebug("%s", PQerrormsg);
return (STATUS_ERROR); return (STATUS_ERROR);
} }
if (pg_krb4_recvauth(port->sock, &port->laddr, &port->raddr, if (pg_krb4_recvauth(port->sock, (struct sockaddr_in *) &port->laddr,
(struct sockaddr_in *) &port->raddr,
username) != STATUS_OK) username) != STATUS_OK)
{ {
sprintf(PQerrormsg, sprintf(PQerrormsg,
...@@ -517,7 +518,8 @@ be_recvauth(MsgType msgtype_arg, Port *port, char *username, StartupInfo *sp) ...@@ -517,7 +518,8 @@ be_recvauth(MsgType msgtype_arg, Port *port, char *username, StartupInfo *sp)
pqdebug("%s", PQerrormsg); pqdebug("%s", PQerrormsg);
return (STATUS_ERROR); return (STATUS_ERROR);
} }
if (pg_krb5_recvauth(port->sock, &port->laddr, &port->raddr, if (pg_krb5_recvauth(port->sock, (struct sockaddr_in *) &port->laddr,
(struct sockaddr_in *) &port->raddr,
username) != STATUS_OK) username) != STATUS_OK)
{ {
sprintf(PQerrormsg, sprintf(PQerrormsg,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment