Faint galaxies: evolution and cosmological curvature