Remove careless 's/%zd/%d/g' hack. Use %zd for size_t, %td for ptrdiff_t and %d for decimals. Unfortunately this breaks compilation on i386 4.x systems (where sprintf doesn't know these modifiers)
State Changed From-To: open->closed Committed with modification: I kept it going on 4.X by applying your patches conditionally on OSVERSION