[svn-commits] murf: trunk r104073 - /trunk/res/res_config_pgsql.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Feb 23 18:44:14 CST 2008


Author: murf
Date: Sat Feb 23 18:44:14 2008
New Revision: 104073

URL: http://svn.digium.com/view/asterisk?view=rev&rev=104073
Log:
On a 64-bit machine, with dev-mode turned on, and pgsql installed, I get warnings that stops the compile. They are fixed now.

Modified:
    trunk/res/res_config_pgsql.c

Modified: trunk/res/res_config_pgsql.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_config_pgsql.c?view=diff&rev=104073&r1=104072&r2=104073
==============================================================================
--- trunk/res/res_config_pgsql.c (original)
+++ trunk/res/res_config_pgsql.c Sat Feb 23 18:44:14 2008
@@ -921,9 +921,9 @@
 		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;
 




More information about the svn-commits mailing list