Skip to content

Commit 0fca4af

Browse files
committed
Change char to int as used in EOF compare, Gerhard
1 parent a89f973 commit 0fca4af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/libpq/fe-exec.c

Lines changed: 2 additions & 2 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-exec.c,v 1.32 1997/06/01 15:39:08 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.33 1997/07/12 20:31:47 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -374,7 +374,7 @@ process_response_from_backend(FILE *pfin, FILE *pfout, FILE *pfdebug,
374374
PGconn *conn,
375375
PGresult **result_p, char * const reason) {
376376

377-
char id;
377+
int id;
378378
/* The protocol character received from the backend. The protocol
379379
character is the first character in the backend's response to our
380380
query. It defines the nature of the response.

0 commit comments

Comments
 (0)