[SR-Dev] git:janakj/bdb: - port from opensips r4526, credits goes to bogdan

Jan Janak jan at iptel.org
Sun Feb 15 16:12:27 CET 2009


Module: sip-router
Branch: janakj/bdb
Commit: 49371467f5b3aaea20bcb1d4e18ac5a268812328
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=49371467f5b3aaea20bcb1d4e18ac5a268812328

Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date:   Wed Aug  6 15:32:44 2008 +0000

- port from opensips r4526, credits goes to bogdan
- 64bits compile warnings fixed


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4618 689a6050-402a-0410-94f2-e92a70836424

---

 modules/db_berkeley/bdb_res.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/db_berkeley/bdb_res.c b/modules/db_berkeley/bdb_res.c
index cc5e7c3..c165122 100644
--- a/modules/db_berkeley/bdb_res.c
+++ b/modules/db_berkeley/bdb_res.c
@@ -74,8 +74,8 @@ int bdb_get_columns(table_p _tp, db_res_t* _res, int* _lres, int _nc)
 			db_free_columns(_res);
 			return -3;
 		}
-		LM_DBG("allocate %d bytes for RES_NAMES[%d] at %p\n", sizeof(str), col,
-				RES_NAMES(_res)[col]);
+		LM_DBG("allocate %lu bytes for RES_NAMES[%d] at %p\n",
+			(unsigned long)sizeof(str), col, RES_NAMES(_res)[col]);
 
 		/* The pointer that is here returned is part of the result structure. */
 		RES_NAMES(_res)[col]->s = cp->name.s;




More information about the sr-dev mailing list