fix base.c to restrict warnings
fix base.c to restrict warnings

- ctr_number_times returns myself

- don't use abs but labs

takano32/citrine,gabordemooij/citrine,takano32/citrine,takano32/citrine,gabordemooij/citrine,gabordemooij/citrine