diff --git a/sdrbase/device/devicesinkapi.cpp b/sdrbase/device/devicesinkapi.cpp index 45aa6b55e..bc02cb552 100644 --- a/sdrbase/device/devicesinkapi.cpp +++ b/sdrbase/device/devicesinkapi.cpp @@ -320,22 +320,22 @@ void DeviceSinkAPI::addSourceBuddy(DeviceSourceAPI* buddy) { m_sourceBuddies.push_back(buddy); buddy->m_sinkBuddies.push_back(this); - qDebug("DeviceSinkAPI::addSourceBuddy: added buddy %s(%s) to the list [%lx] <-> [%lx]", + qDebug("DeviceSinkAPI::addSourceBuddy: added buddy %s(%s) to the list [%llu] <-> [%llu]", qPrintable(buddy->getHardwareId()), qPrintable(buddy->getSampleSourceSerial()), - (uint64_t) buddy, - (uint64_t) this); + (quint64) buddy, + (quint64) this); } void DeviceSinkAPI::addSinkBuddy(DeviceSinkAPI* buddy) { m_sinkBuddies.push_back(buddy); buddy->m_sinkBuddies.push_back(this); - qDebug("DeviceSinkAPI::addSinkBuddy: added buddy %s(%s) to the list [%lx] <-> [%lx]", + qDebug("DeviceSinkAPI::addSinkBuddy: added buddy %s(%s) to the list [%llu] <-> [%llu]", qPrintable(buddy->getHardwareId()), qPrintable(buddy->getSampleSinkSerial()), - (uint64_t) buddy, - (uint64_t) this); + (quint64) buddy, + (quint64) this); } void DeviceSinkAPI::removeSourceBuddy(DeviceSourceAPI* buddy) @@ -346,21 +346,21 @@ void DeviceSinkAPI::removeSourceBuddy(DeviceSourceAPI* buddy) { if (*it == buddy) { - qDebug("DeviceSinkAPI::removeSourceBuddy: buddy %s(%s) [%lx] removed from the list of [%lx]", + qDebug("DeviceSinkAPI::removeSourceBuddy: buddy %s(%s) [%llu] removed from the list of [%llu]", qPrintable(buddy->getHardwareId()), qPrintable(buddy->getSampleSourceSerial()), - (uint64_t) (*it), - (uint64_t) this); + (quint64) (*it), + (quint64) this); m_sourceBuddies.erase(it); return; } } - qDebug("DeviceSinkAPI::removeSourceBuddy: buddy %s(%s) [%lx] not found in the list of [%lx]", + qDebug("DeviceSinkAPI::removeSourceBuddy: buddy %s(%s) [%llu] not found in the list of [%llu]", qPrintable(buddy->getHardwareId()), qPrintable(buddy->getSampleSourceSerial()), - (uint64_t) buddy, - (uint64_t) this); + (quint64) buddy, + (quint64) this); } void DeviceSinkAPI::removeSinkBuddy(DeviceSinkAPI* buddy) @@ -371,21 +371,21 @@ void DeviceSinkAPI::removeSinkBuddy(DeviceSinkAPI* buddy) { if (*it == buddy) { - qDebug("DeviceSinkAPI::removeSinkBuddy: buddy %s(%s) [%lx] removed from the list of [%lx]", + qDebug("DeviceSinkAPI::removeSinkBuddy: buddy %s(%s) [%llu] removed from the list of [%llu]", qPrintable(buddy->getHardwareId()), qPrintable(buddy->getSampleSinkSerial()), - (uint64_t) (*it), - (uint64_t) this); + (quint64) (*it), + (quint64) this); m_sinkBuddies.erase(it); return; } } - qDebug("DeviceSinkAPI::removeSinkBuddy: buddy %s(%s) [%lx] not found in the list of [%lx]", + qDebug("DeviceSinkAPI::removeSinkBuddy: buddy %s(%s) [%llu] not found in the list of [%llu]", qPrintable(buddy->getHardwareId()), qPrintable(buddy->getSampleSinkSerial()), - (uint64_t) buddy, - (uint64_t) this); + (quint64) buddy, + (quint64) this); } void DeviceSinkAPI::clearBuddiesLists() diff --git a/sdrbase/device/devicesourceapi.cpp b/sdrbase/device/devicesourceapi.cpp index c6e3563d7..972c20f34 100644 --- a/sdrbase/device/devicesourceapi.cpp +++ b/sdrbase/device/devicesourceapi.cpp @@ -323,22 +323,22 @@ void DeviceSourceAPI::addSourceBuddy(DeviceSourceAPI* buddy) { m_sourceBuddies.push_back(buddy); buddy->m_sourceBuddies.push_back(this); - qDebug("DeviceSourceAPI::addSourceBuddy: added buddy %s(%s) [%lx] <-> [%lx]", + qDebug("DeviceSourceAPI::addSourceBuddy: added buddy %s(%s) [%llu] <-> [%llu]", qPrintable(buddy->getHardwareId()), qPrintable(buddy->getSampleSourceSerial()), - (uint64_t) buddy, - (uint64_t) this); + (quint64) buddy, + (quint64) this); } void DeviceSourceAPI::addSinkBuddy(DeviceSinkAPI* buddy) { m_sinkBuddies.push_back(buddy); buddy->m_sourceBuddies.push_back(this); - qDebug("DeviceSourceAPI::addSinkBuddy: added buddy %s(%s) [%lx] <-> [%lx]", + qDebug("DeviceSourceAPI::addSinkBuddy: added buddy %s(%s) [%llu] <-> [%llu]", qPrintable(buddy->getHardwareId()), qPrintable(buddy->getSampleSinkSerial()), - (uint64_t) buddy, - (uint64_t) this); + (quint64) buddy, + (quint64) this); } void DeviceSourceAPI::removeSourceBuddy(DeviceSourceAPI* buddy) @@ -349,21 +349,21 @@ void DeviceSourceAPI::removeSourceBuddy(DeviceSourceAPI* buddy) { if (*it == buddy) { - qDebug("DeviceSourceAPI::removeSourceBuddy: buddy %s(%s) [%lx] removed from the list of [%lx]", + qDebug("DeviceSourceAPI::removeSourceBuddy: buddy %s(%s) [%llu] removed from the list of [%llu]", qPrintable(buddy->getHardwareId()), qPrintable(buddy->getSampleSourceSerial()), - (uint64_t) (*it), - (uint64_t) this); + (quint64) (*it), + (quint64) this); m_sourceBuddies.erase(it); return; } } - qDebug("DeviceSourceAPI::removeSourceBuddy: buddy %s(%s) [%lx] not found in the list of [%lx]", + qDebug("DeviceSourceAPI::removeSourceBuddy: buddy %s(%s) [%llu] not found in the list of [%llu]", qPrintable(buddy->getHardwareId()), qPrintable(buddy->getSampleSourceSerial()), - (uint64_t) buddy, - (uint64_t) this); + (quint64) buddy, + (quint64) this); } void DeviceSourceAPI::removeSinkBuddy(DeviceSinkAPI* buddy) @@ -374,21 +374,21 @@ void DeviceSourceAPI::removeSinkBuddy(DeviceSinkAPI* buddy) { if (*it == buddy) { - qDebug("DeviceSourceAPI::removeSinkBuddy: buddy %s(%s) [%lx] removed from the list of [%lx]", + qDebug("DeviceSourceAPI::removeSinkBuddy: buddy %s(%s) [%llu] removed from the list of [%llu]", qPrintable(buddy->getHardwareId()), qPrintable(buddy->getSampleSinkSerial()), - (uint64_t) (*it), - (uint64_t) this); + (quint64) (*it), + (quint64) this); m_sinkBuddies.erase(it); return; } } - qDebug("DeviceSourceAPI::removeSinkBuddy: buddy %s(%s) [%lx] not found in the list of [%lx]", + qDebug("DeviceSourceAPI::removeSinkBuddy: buddy %s(%s) [%llu] not found in the list of [%llu]", qPrintable(buddy->getHardwareId()), qPrintable(buddy->getSampleSinkSerial()), - (uint64_t) buddy, - (uint64_t) this); + (quint64) buddy, + (quint64) this); } void DeviceSourceAPI::clearBuddiesLists()