fix integer sign warnings