757d8c36e9 and replace it by %lu as a workaround. The %zd modifier was introduced in C99 standard, but is not implemented by MinGW.
757d8c36e9