Update macOS CI (#7572)
* Use macOS 13 See: https://github.com/actions/runner-images/issues/10721 * Upgrade to XCode 15.2 XCode 15.2 is the default on macOS 13 * Fix unqualified call to std::move warning * Fix sprintf deprecated warnings * Upgrade macOS 14 ARM64 builds to XCode 15.4 See: https://github.com/actions/runner-images/issues/10703 * Fix unused lambda capture warnings in Fader.cpp * Fix unused variable warnings * Fix formatting warning Cannot format `const void*` as a string * Force lambda conversion to function pointer
This commit is contained in:
@@ -398,7 +398,7 @@ public:
|
||||
message & addInt( int _i )
|
||||
{
|
||||
char buf[32];
|
||||
sprintf( buf, "%d", _i );
|
||||
std::snprintf(buf, 32, "%d", _i);
|
||||
data.emplace_back( buf );
|
||||
return *this;
|
||||
}
|
||||
@@ -406,7 +406,7 @@ public:
|
||||
message & addFloat( float _f )
|
||||
{
|
||||
char buf[32];
|
||||
sprintf( buf, "%f", _f );
|
||||
std::snprintf(buf, 32, "%f", _f);
|
||||
data.emplace_back( buf );
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -309,7 +309,7 @@ bool RemotePluginClient::processMessage( const message & _m )
|
||||
default:
|
||||
{
|
||||
char buf[64];
|
||||
sprintf( buf, "undefined message: %d\n", (int) _m.id );
|
||||
std::snprintf(buf, 64, "undefined message: %d\n", _m.id);
|
||||
debugMessage( buf );
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user