progman: Use correct integral type.