https://bugs.winehq.org/show_bug.cgi?id=51574
Bug ID: 51574 Summary: swscanf_s with %zu fails for valid value Product: Wine Version: 6.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: winebugs@63bit.net Distribution: ---
Running Microsoft Texconv.exe with parameters specifying height or width returns "Invalid value specified for h (512)".
Link to source is here: https://github.com/microsoft/DirectXTex/blob/54ce2c8da97c3508899c31f80bfb1ec...
Link to binary is here: https://github.com/microsoft/DirectXTex/releases/download/aug2021/texconv.ex...
Example failing arguments are '-nowic -nologo -y -sepalpha -h 512 -w 512 -aw 256 -keepcoverage 0 -f BC7_UNORM -bc q -o "C:\dyndolod\TexGen_Output\Textures\lod" "C:\dyndolod\TexGen_Output\Textures\lod\bridge01lod.dds"'