diff options
author | Steve Murphy <murf@digium.com> | 2008-02-24 00:44:14 +0000 |
---|---|---|
committer | Steve Murphy <murf@digium.com> | 2008-02-24 00:44:14 +0000 |
commit | 14529764d764cb5e5229c45559033ef08e856628 (patch) | |
tree | a6007ada8b467175b3010034ad340002d37aeea1 /res/res_config_pgsql.c | |
parent | 552b782fc2d77c1dd6568c7efd3599f95ecc81fd (diff) |
On a 64-bit machine, with dev-mode turned on, and pgsql installed, I get warnings that stops the compile. They are fixed now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_config_pgsql.c')
-rw-r--r-- | res/res_config_pgsql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_config_pgsql.c b/res/res_config_pgsql.c index df744592b..0bd535f15 100644 --- a/res/res_config_pgsql.c +++ b/res/res_config_pgsql.c @@ -921,9 +921,9 @@ static int pgsql_reconnect(const char *database) if (!ast_strlen_zero(dbpass)) ast_str_append(&connInfo, 0, " password=%s", dbpass); - ast_debug(1, "%u connInfo=%s\n", connInfo->len, connInfo->str); + ast_debug(1, "%u connInfo=%s\n", (unsigned int)connInfo->len, connInfo->str); pgsqlConn = PQconnectdb(connInfo->str); - ast_debug(1, "%u connInfo=%s\n", connInfo->len, connInfo->str); + ast_debug(1, "%u connInfo=%s\n", (unsigned int)connInfo->len, connInfo->str); ast_free(connInfo); connInfo = NULL; |