Removed uncalled-for cast to (unsigned long) for a size_t value.