Mc compiler warnings due to int uint comparisons

There was some conflict with the travis file, but that is solved and it is the same as in the master repository.