small signed/unsigned fixes for pedantic warning setups