mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-20 05:05:40 -04:00
Misc: Warning fixes
This commit is contained in:
@ -91,7 +91,7 @@ void GDBConnection::onEmulationResumed()
|
||||
|
||||
void GDBConnection::writePacket(std::string_view packet)
|
||||
{
|
||||
Log_DebugPrintf("(%" PRIdPTR ") < %*s", m_descriptor, packet.length(), packet.data());
|
||||
Log_DebugPrintf("(%" PRIdPTR ") < %.*s", m_descriptor, static_cast<int>(packet.length()), packet.data());
|
||||
if (write(packet.data(), packet.length()) == -1)
|
||||
{
|
||||
Log_ErrorPrintf("(%" PRIdPTR ") Failed to write to socket: %s", m_descriptor,
|
||||
|
Reference in New Issue
Block a user