From 3220e9bbc4643a104e275470369b13608baa4aa6 Mon Sep 17 00:00:00 2001 From: Peter Tissen Date: Mon, 28 Apr 2014 21:50:07 +0200 Subject: [PATCH] format warning disable for clang, typo correction --- Utilities/StrFmt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/StrFmt.h b/Utilities/StrFmt.h index 430e65a8d0..d4e46917eb 100644 --- a/Utilities/StrFmt.h +++ b/Utilities/StrFmt.h @@ -85,7 +85,7 @@ namespace fmt{ { std::vector 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(parameters)...); #pragma clang diagnostic pop if (printlen >= 0 && printlen < length)