Reply To cazfi
The obvious solution is to provide correct "%zu" format specifier, and that's what I'm going to test first. The risk associated to that is that it might not be supported by some of the compilers we've supported so far.
Didn't work even in msys2, where the fix was needed for. Trying another approach...
The new patch casts the zstd error value to a 'long' on all environments, so '%ld' format specifier can be used.
Build on msys2 currently fails (detected by CI). The problem is bad format specifier for a size_t variable in zstd support code.
Will treat this as an emergency fix, even though there's multiple ways to proceed and all of them have their risks.
The obvious solution is to provide correct "%zu" format specifier, and that's what I'm going to test first. The risk associated to that is that it might not be supported by some of the compilers we've supported so far.