(repertoire_new_char): Change from_nr, to_nr and cnt to unsigned long,