corrected type conversions

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@486 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 19 years ago
parent ec7ff7a3de
commit 2731a037e4

@ -180,7 +180,7 @@ void RegThread::run() {
it != registrations.end(); it++) {
if (!check_registration(*it)) {
DBG("Registration %d does not exist or timeout. Creating registration.\n",
it - registrations.begin());
(int)(it - registrations.begin()));
create_registration(*it);
}
}

@ -128,7 +128,7 @@ void AmCallWatcher::process(AmEvent* ev) {
soft_states_mut.unlock();
DBG("moved call state '%s' to soft-state map (%u states, %u soft-states)\n",
csu->get_call_id().c_str(), s_size, soft_size);
csu->get_call_id().c_str(), (unsigned int) s_size, (unsigned int)soft_size);
} else {
DBG("received obsolete event for inexistent call '%s'\n",
@ -169,7 +169,7 @@ CallStatus* AmCallWatcher::getStatus(const string& call_id) {
res = it->second.first;
soft_states.erase(it);
DBG("erased call state '%s' (%u in list).\n",
call_id.c_str(), soft_states.size());
call_id.c_str(), (unsigned int)soft_states.size());
} else {
DBG("state for call '%s' not found.\n",
call_id.c_str());
@ -198,7 +198,7 @@ void AmCallWatcherGarbageCollector::run() {
}
if (erased){
DBG("cleared old soft-states (%u soft-states remaining)\n",
garbage.size());
(unsigned int)garbage.size());
}
mut.unlock();
}

Loading…
Cancel
Save