[PATCH] hash_readwrite_autotest: fix printf parameters
Bruce Richardson
bruce.richardson at intel.com
Fri Mar 7 10:01:28 CET 2025
On Thu, Mar 06, 2025 at 12:03:28PM -0800, Andre Muezerie wrote:
> Compiling with MSVC logs the warnings below, which result in
> build error:
>
> ../app/test/test_hash_readwrite.c(73): warning C4476: 'printf' :
> unknown type field character ''' in format specifier
> ../app/test/test_hash_readwrite.c(75): warning C4474: 'printf' :
> too many arguments passed for format string
> ../app/test/test_hash_readwrite.c(75): note: placeholders and
> their parameters expect 2 variadic arguments, but 4 were provided
>
> Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>
> ---
> app/test/test_hash_readwrite.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
IF the "'" character is not supported, is there some other method to do
thousands grouping in MSVC?
/Bruce
More information about the dev
mailing list