Skip to content

Commit 8135140

Browse files
committed
|From: "D'Arcy" "J.M." Cain <darcy@druid.net> | |The following patch just prevents a warning from being generated because |the data type isn't specified.
1 parent 03155dc commit 8135140

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/interfaces/libpq/fe-auth.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.24 1998/09/01 04:40:01 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.25 1999/01/22 13:28:50 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -92,7 +92,7 @@ static struct authsvc authsvcs[] = {
9292
{"password", STARTUP_PASSWORD_MSG, 0}
9393
};
9494

95-
static n_authsvcs = sizeof(authsvcs) / sizeof(struct authsvc);
95+
static int n_authsvcs = sizeof(authsvcs) / sizeof(struct authsvc);
9696

9797
#ifdef KRB4
9898
/*----------------------------------------------------------------
@@ -550,7 +550,7 @@ fe_sendauth(AuthRequest areq, PGconn *conn, const char *hostname,
550550
* Set/return the authentication service currently selected for use by the
551551
* frontend. (You can only use one in the frontend, obviously.)
552552
*/
553-
static pg_authsvc = -1;
553+
static int pg_authsvc = -1;
554554

555555
void
556556
fe_setauthsvc(const char *name, char *PQerrormsg)

0 commit comments

Comments
 (0)