Well, you never know. There are containers that use a signed integer for storing its size. This results in a warning about comparing signed with unsigned integers. This commit prevents this by explicitly casting the size to std::size_t.