fixed conv.to for unsigned integral types