Fixed printf statements using size_t from %d to %ul.