From: Magnus Hagander Date: Wed, 22 Jul 2009 11:07:02 +0000 (+0000) Subject: Fix mismatch in const:ness of parameters. X-Git-Tag: REL8_5_ALPHA1~118 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=ea382424eec3c7cbb0b3cda8f650e9b88669893a;p=postgresql.git Fix mismatch in const:ness of parameters. --- diff --git a/src/interfaces/ecpg/ecpglib/prepare.c b/src/interfaces/ecpg/ecpglib/prepare.c index 70d150ee39a..5be2ac04994 100644 --- a/src/interfaces/ecpg/ecpglib/prepare.c +++ b/src/interfaces/ecpg/ecpglib/prepare.c @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.31 2009/06/11 14:49:13 momjian Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.32 2009/07/22 11:07:02 mha Exp $ */ #define POSTGRES_ECPG_INTERNAL #include "postgres_fe.h" @@ -463,7 +463,7 @@ AddStmtToCache(int lineno, /* line # of statement */ /* handle cache and preparation of statments in auto-prepare mode */ bool -ecpg_auto_prepare(int lineno, const char *connection_name, int compat, char **name, const char *query) +ecpg_auto_prepare(int lineno, const char *connection_name, const int compat, char **name, const char *query) { int entNo;