mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-11 06:40:39 +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);
|
std::vector<char> buffptr(length);
|
||||||
#pragma clang diagnostic push
|
#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)...);
|
int printlen = snprintf(buffptr.data(), length, fmt.c_str(), std::forward<Args>(parameters)...);
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
if (printlen >= 0 && printlen < length)
|
if (printlen >= 0 && printlen < length)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user