master: Casted uint64_t to size_t to eliminate warning