fieldSize() returns std::size_t, which is not necessarily the same width as unsigned long.