[asterisk-commits] north: trunk r38010 - in /trunk/res: res_config_odbc.c res_config_pgsql.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jul 19 15:48:01 MST 2006


Author: north
Date: Wed Jul 19 17:48:00 2006
New Revision: 38010

URL: http://svn.digium.com/view/asterisk?rev=38010&view=rev
Log:
Remove "initialization from incompatible pointer type" warnings.

Modified:
    trunk/res/res_config_odbc.c
    trunk/res/res_config_pgsql.c

Modified: trunk/res/res_config_odbc.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_config_odbc.c?rev=38010&r1=38009&r2=38010&view=diff
==============================================================================
--- trunk/res/res_config_odbc.c (original)
+++ trunk/res/res_config_odbc.c Wed Jul 19 17:48:00 2006
@@ -487,7 +487,7 @@
 	return sth;
 }
 
-static struct ast_config *config_odbc(const char *database, const char *table, const char *file, struct ast_config *cfg)
+static struct ast_config *config_odbc(const char *database, const char *table, const char *file, struct ast_config *cfg, int withcomments)
 {
 	struct ast_variable *new_v;
 	struct ast_category *cur_cat;

Modified: trunk/res/res_config_pgsql.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_config_pgsql.c?rev=38010&r1=38009&r2=38010&view=diff
==============================================================================
--- trunk/res/res_config_pgsql.c (original)
+++ trunk/res/res_config_pgsql.c Wed Jul 19 17:48:00 2006
@@ -439,7 +439,8 @@
 }
 
 static struct ast_config *config_pgsql(const char *database, const char *table,
-					   const char *file, struct ast_config *cfg)
+					   const char *file, struct ast_config *cfg,
+					   int withcomments)
 {
 	PGresult *result = NULL;
 	long num_rows;



More information about the asterisk-commits mailing list