mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
format warning disable for clang, typo correction
This commit is contained in:
parent
baaa2ae45a
commit
3220e9bbc4
@ -85,7 +85,7 @@ namespace fmt{
|
||||
{
|
||||
std::vector<char> buffptr(length);
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-wFormat-security"
|
||||
#pragma clang diagnostic ignored "-Wformat-security"
|
||||
int printlen = snprintf(buffptr.data(), length, fmt.c_str(), std::forward<Args>(parameters)...);
|
||||
#pragma clang diagnostic pop
|
||||
if (printlen >= 0 && printlen < length)
|
||||
|
Loading…
Reference in New Issue
Block a user