fix return type of virtual function
fix argument type of virtual function
cast arguments of min function to same type
cast min argument
bump version after fixing compilation issues