If len is always >= 0, make it unsigned.