fix invalid modifier

In C99, the correct modifier of size_t is %zd.