summaryrefslogtreecommitdiffstats
path: root/joinpbx.cpp
diff options
context:
space:
mode:
authorSuper User2008-07-29 19:00:12 +0200
committerSuper User2008-07-29 19:00:12 +0200
commitde8f81a69bac7db90856ddb639c4bfa62fa80150 (patch)
tree021bfad67f82e217c37b0e92163a5f67f975875e /joinpbx.cpp
parentfixed problem with "Answer" after extension matches. (diff)
downloadlcr-de8f81a69bac7db90856ddb639c4bfa62fa80150.tar.gz
lcr-de8f81a69bac7db90856ddb639c4bfa62fa80150.tar.xz
lcr-de8f81a69bac7db90856ddb639c4bfa62fa80150.zip
make compile with gcc 4.* without warnings. (hopefully with all versions)
modified: Makefile modified: bchannel.c modified: chan_lcr.h modified: extension.c modified: gentones.c modified: genwave.c modified: joinpbx.cpp modified: tones.c
Diffstat (limited to 'joinpbx.cpp')
-rw-r--r--joinpbx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/joinpbx.cpp b/joinpbx.cpp
index 21cb91d..e68669a 100644
--- a/joinpbx.cpp
+++ b/joinpbx.cpp
@@ -134,12 +134,12 @@ void joinpbx_debug(class JoinPBX *joinpbx, char *function)
epoint = find_epoint_id(relation->epoint_id);
if (!epoint)
{
- PDEBUG(DEBUG_JOIN, "warning: relations epoint id=%ld doesn't exists!\n", relation->epoint_id);
+ PDEBUG(DEBUG_JOIN, "warning: relations epoint id=%d doesn't exists!\n", relation->epoint_id);
relation = relation->next;
continue;
}
buffer[0] = '\0';
- UPRINT(strchr(buffer,0), "*** ep%ld", relation->epoint_id);
+ UPRINT(strchr(buffer,0), "*** ep%d", relation->epoint_id);
UPRINT(strchr(buffer,0), " ifs=");
portlist = epoint->ep_portlist;
while(portlist)
@@ -148,7 +148,7 @@ void joinpbx_debug(class JoinPBX *joinpbx, char *function)
if (port)
UPRINT(strchr(buffer,0), "%s,", port->p_name);
else
- UPRINT(strchr(buffer,0), "<port %ld doesn't exist>,", portlist->port_id);
+ UPRINT(strchr(buffer,0), "<port %d doesn't exist>,", portlist->port_id);
portlist = portlist->next;
}
// UPRINT(strchr(buffer,0), " endpoint=%d on=%s hold=%s", epoint->ep_serial, (epoint->ep_join_id==joinpbx->j_serial)?"yes":"no", (epoint->get_hold_id()==joinpbx->j_serial)?"yes":"no");