For the differential D32585, size_t was incorrectly used
where uint64_t should have been used.
I had just committed a fix for that. You simply shouldn't have explicitly specified the template arg in the GetValueAsInteger calls. If you still want to make these uint64_t (I don't think it's necessary, as you won't be able to allocate more memory than size_t anyway), then we can do that, but then you should change the numeric_limits type as well.