Wsign-compare fixes