ring: remove signed type flip-flopping