Format using %zd to get rid of 64-bit warning