Replace size_t with unsigned long.

size_t is not compatible type for `%lu`.