From: Magnus Hagander Date: Wed, 22 Jul 2009 11:07:04 +0000 (+0000) Subject: Fix mismatch in const:ness of parameters. X-Git-Tag: REL8_4_1~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51ecc4b10e6ec2df096a66670978e069bf7a26c0;p=postgresql Fix mismatch in const:ness of parameters. --- diff --git a/src/interfaces/ecpg/ecpglib/prepare.c b/src/interfaces/ecpg/ecpglib/prepare.c index 70d150ee39..e60363d6fe 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.31.2.1 2009/07/22 11:07:04 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;