Use intmax_t instead of long, to match types from ConfGetChildValueInt