File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33 *
44 * Copyright 2000 by PostgreSQL Global Development Group
55 *
6- * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.60 2003/03/20 06:43:35 momjian Exp $
6+ * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.61 2003/03/20 15:39:52 momjian Exp $
77 */
88#include "postgres_fe.h"
99#include "common.h"
@@ -621,7 +621,7 @@ char parse_char(char **buf)
621621 long l ;
622622
623623 l = strtol (* buf , buf , 0 );
624- ( * buf ) -- ;
624+ -- * buf ;
625625 return (char )l ;
626626}
627627
Original file line number Diff line number Diff line change 33 *
44 * Copyright 2000 by PostgreSQL Global Development Group
55 *
6- * $Header: /cvsroot/pgsql/src/bin/psql/prompt.c,v 1.23 2003/03/20 06:43:35 momjian Exp $
6+ * $Header: /cvsroot/pgsql/src/bin/psql/prompt.c,v 1.24 2003/03/20 15:39:53 momjian Exp $
77 */
88#include "postgres_fe.h"
99#include "prompt.h"
@@ -171,7 +171,7 @@ get_prompt(promptStatus_t status)
171171 case '7' :
172172 case '8' :
173173 case '9' :
174- * buf = parse_char (& p );
174+ * buf = parse_char (( char * * ) & p );
175175 break ;
176176
177177 case 'R' :
You can’t perform that action at this time.
0 commit comments