Module: sip-router
Branch: master
Commit: 91eadbeda403afefdb26ab94d79ed58ea78779d2
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=91eadbe…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Thu Oct 1 01:13:57 2009 +0200
avp(s): tm: gcc-2.9x warning fixes (%zd)
- %zd is not supported in the format string for gcc < 3.0
---
modules_s/avp/avp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_s/avp/avp.c b/modules_s/avp/avp.c
index 0951b4a..cf6e4bd 100644
--- a/modules_s/avp/avp.c
+++ b/modules_s/avp/avp.c
@@ -1603,7 +1603,7 @@ static int select_attr_fixup(str* res, select_t* s, struct sip_msg*
msg)
DEBUG("fix up for attribute '%.*s'\n", STR_FMT(&attr_name));
if (! (avp_ident = pkg_malloc(sizeof(avp_ident_t)))) {
- ERR("out of mem; requested: %zd.\n", sizeof(avp_ident_t));
+ ERR("out of mem; requested: %d.\n", (int)sizeof(avp_ident_t));
return -1;
}
memset(avp_ident, 0, sizeof(avp_ident_t));