From e8023a22a3f72a718d644f97b8b297fba4b638d5 Mon Sep 17 00:00:00 2001 From: murf Date: Sun, 24 Feb 2008 00:44:14 +0000 Subject: [PATCH] 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: http://svn.digium.com/svn/asterisk/trunk@104073 f38db490-d61c-443f-a65b-d21fe96a405b --- res/res_config_pgsql.c | 4 ++-- 1 file 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;