Use %zd for ssize_t

Review 1608 by @danielmewes