Fixed several signed/unsigned formatting mismatches.

git-svn-id: http://voip.null.ro/svn/yate@5201 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2012-07-16 12:39:57 +00:00
parent 0c1463af1c
commit f11818cb93
6 changed files with 7 additions and 7 deletions

View File

@ -723,11 +723,11 @@ bool RouteHandler::received(Message &msg)
const char *context = msg.getValue(YSTRING("context"),"default");
Lock lock(s_mutex);
if (oneContext(msg,called,context,msg.retValue())) {
Debug(DebugInfo,"Routing call to '%s' in context '%s' via '%s' in " FMT64 " usec",
Debug(DebugInfo,"Routing call to '%s' in context '%s' via '%s' in " FMT64U " usec",
called.c_str(),context,msg.retValue().c_str(),Time::now()-tmr);
return true;
}
Debug(DebugInfo,"Could not route call to '%s' in context '%s', wasted " FMT64 " usec",
Debug(DebugInfo,"Could not route call to '%s' in context '%s', wasted " FMT64U " usec",
called.c_str(),context,Time::now()-tmr);
return false;
};

View File

@ -1906,7 +1906,7 @@ void AnalogChannel::evAlarm(bool alarm, const char* alarms)
// Wait if answered
if (!m_alarmTimer.started()) {
Debug(this,DebugNote,
"Line is out of order alarms=%s. Starting timer for " FMT64 " ms [%p]",
"Line is out of order alarms=%s. Starting timer for " FMT64U " ms [%p]",
alarms,m_alarmTimer.interval(),this);
m_alarmTimer.start();
}

View File

@ -372,7 +372,7 @@ void Cpu::updateYateLoad()
bool updateLoad = true;
if (user < m_yateUser || ker < m_yateSystem || time < m_lastYateCheck) {
Debug(&s_module,DebugInfo,"Negative values for yate CPU update "
"cu = "FMT64" lu="FMT64" ck="FMT64" lk="FMT64" ct="FMT64" lt="FMT64" ",
"cu = "FMT64U" lu="FMT64U" ck="FMT64U" lk="FMT64U" ct="FMT64U" lt="FMT64U" ",
user,m_yateUser,ker,m_yateSystem,time,m_lastYateCheck);
updateLoad = false;
}

View File

@ -2761,7 +2761,7 @@ void RTPTable::reconfigure(const NamedList* cfg)
if (!m_monitor)
m_rtpEntries.clear();
String directions = cfg->getValue("rtp_directions","");
Debug(&__plugin,DebugAll,"RTPTable [%p] configured with directions='%s',resetTime=" FMT64,this,directions.c_str(),m_resetInterval);
Debug(&__plugin,DebugAll,"RTPTable [%p] configured with directions='%s',resetTime=" FMT64U,this,directions.c_str(),m_resetInterval);
if (m_monitor) {
ObjList* l = directions.split(',');
for (ObjList* o = l->skipNull(); o; o = o->skipNext()) {

View File

@ -1468,7 +1468,7 @@ void LNPQuery::extractAddress(NamedList& params)
BlockedCode::BlockedCode(const char* code, u_int64_t duration, u_int64_t gap, LNPClient::ACGCause cause)
: m_code(code)
{
Debug(&__plugin,DebugAll,"BlockedCode created [%p] - code '%s' blocked for "FMT64" seconds with gap="FMT64" seconds, cause=%s",
Debug(&__plugin,DebugAll,"BlockedCode created [%p] - code '%s' blocked for "FMT64U" seconds with gap="FMT64U" seconds, cause=%s",
this,m_code.c_str(),duration,gap,lookup(cause,s_acgCauses,""));
update(duration,gap,cause);
}

View File

@ -2184,7 +2184,7 @@ void SOCKSConn::setSocksTimeout(u_int64_t now, bool auth)
}
m_socksTimeoutMs = now;
Debug(m_engine,DebugInfo,
"SOCKSConn(%s) starting timer now=" FMT64 " interval=" FMT64 " [%p]",
"SOCKSConn(%s) starting timer now=" FMT64U " interval=" FMT64U " [%p]",
m_id.c_str(),m_socksTimeoutMs,interval,this);
m_socksTimeoutMs += interval;
}