[SR-Dev] git:janakj/postgres: - fix warning related to amd64
Jan Janak
jan at iptel.org
Wed Feb 18 01:26:21 CET 2009
Module: sip-router
Branch: janakj/postgres
Commit: a1b6b664b5ca852a320d09fc8bfd73c9cd44a1d6
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a1b6b664b5ca852a320d09fc8bfd73c9cd44a1d6
Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date: Fri Sep 12 11:21:41 2008 +0000
- fix warning related to amd64
git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4894 689a6050-402a-0410-94f2-e92a70836424
---
modules/db_postgres/km_res.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/db_postgres/km_res.c b/modules/db_postgres/km_res.c
index 4dc07ad..95e5c11 100644
--- a/modules/db_postgres/km_res.c
+++ b/modules/db_postgres/km_res.c
@@ -116,7 +116,7 @@ int db_postgres_get_columns(const db_con_t* _h, db_res_t* _r)
db_free_columns(_r);
return -4;
}
- LM_DBG("allocate %d bytes for RES_NAMES[%d] at %p\n", sizeof(str), col,
+ LM_DBG("allocate %d bytes for RES_NAMES[%d] at %p\n", (unsigned int) sizeof(str), col,
RES_NAMES(_r)[col]);
/* The pointer that is here returned is part of the result structure. */
More information about the sr-dev
mailing list