Fix mismatch in const:ness of parameters.
authorMagnus Hagander <magnus@hagander.net>
Wed, 22 Jul 2009 11:07:02 +0000 (11:07 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 22 Jul 2009 11:07:02 +0000 (11:07 +0000)
src/interfaces/ecpg/ecpglib/prepare.c

index 068870ff4b1c954cf2a7748077add73d0f281a69..4c35ac20cb2689783e0ea0e9b3547927024d7274 100644 (file)
@@ -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;