mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-03 13:11:20 -05:00 
			
		
		
		
	sdrbase: fix type warning
warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long')
This commit is contained in:
		
							parent
							
								
									140c170ac4
								
							
						
					
					
						commit
						74786f550d
					
				@ -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()
 | 
			
		||||
 | 
			
		||||
@ -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()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user