fix integer sign warning