fix sign warning in new znprimroot code