#triangle: warnings fixed