mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
Remove "initialization from incompatible pointer type" warnings.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -487,7 +487,7 @@ static SQLHSTMT config_odbc_prepare(struct odbc_obj *obj, void *data)
|
|||||||
return sth;
|
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_variable *new_v;
|
||||||
struct ast_category *cur_cat;
|
struct ast_category *cur_cat;
|
||||||
|
@@ -439,7 +439,8 @@ static int update_pgsql(const char *database, const char *table, const char *key
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct ast_config *config_pgsql(const char *database, const char *table,
|
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;
|
PGresult *result = NULL;
|
||||||
long num_rows;
|
long num_rows;
|
||||||
|
Reference in New Issue
Block a user